diff options
Diffstat (limited to 'llvm/lib/CodeGen/ShrinkWrapping.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ShrinkWrapping.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ShrinkWrapping.cpp b/llvm/lib/CodeGen/ShrinkWrapping.cpp index 70fcf55cc47..21ae2f5e56e 100644 --- a/llvm/lib/CodeGen/ShrinkWrapping.cpp +++ b/llvm/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); } |