commit | 25600cf50df79a6e7f8365a3ca7e940592e8ca74 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Mon Feb 06 22:51:18 2012 +0000 |
committer | Andrew Trick <atrick@apple.com> | Mon Feb 06 22:51:18 2012 +0000 |
tree | 9d408a075baac8b18bbac3e84c187a1f09f21f15 | |
parent | 6939fde29cdd04cec9f440a9351c1c4340850e20 [diff] [blame] |
Expose TargetPassConfig to PEI Pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149927 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ShrinkWrapping.cpp b/lib/CodeGen/ShrinkWrapping.cpp index 70fcf55..21ae2f5 100644 --- a/lib/CodeGen/ShrinkWrapping.cpp +++ b/lib/CodeGen/ShrinkWrapping.cpp
@@ -93,6 +93,7 @@ } AU.addPreserved<MachineLoopInfo>(); AU.addPreserved<MachineDominatorTree>(); + AU.addRequired<TargetPassConfig>(); MachineFunctionPass::getAnalysisUsage(AU); }