summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ShrinkWrapping.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-06 22:51:18 +0000
committerAndrew Trick <atrick@apple.com>2012-02-06 22:51:18 +0000
commit25600cf50df79a6e7f8365a3ca7e940592e8ca74 (patch)
tree9d408a075baac8b18bbac3e84c187a1f09f21f15 /lib/CodeGen/ShrinkWrapping.cpp
parent6939fde29cdd04cec9f440a9351c1c4340850e20 (diff)
downloadllvm-25600cf50df79a6e7f8365a3ca7e940592e8ca74.tar.gz
llvm-25600cf50df79a6e7f8365a3ca7e940592e8ca74.tar.bz2
llvm-25600cf50df79a6e7f8365a3ca7e940592e8ca74.tar.xz
Expose TargetPassConfig to PEI Pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ShrinkWrapping.cpp')
-rw-r--r--lib/CodeGen/ShrinkWrapping.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/ShrinkWrapping.cpp b/lib/CodeGen/ShrinkWrapping.cpp
index 70fcf55cc4..21ae2f5e56 100644
--- a/lib/CodeGen/ShrinkWrapping.cpp
+++ b/lib/CodeGen/ShrinkWrapping.cpp
@@ -93,6 +93,7 @@ void PEI::getAnalysisUsage(AnalysisUsage &AU) const {
}
AU.addPreserved<MachineLoopInfo>();
AU.addPreserved<MachineDominatorTree>();
+ AU.addRequired<TargetPassConfig>();
MachineFunctionPass::getAnalysisUsage(AU);
}