We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d778689 commit bf68403Copy full SHA for bf68403
llvm/lib/CodeGen/MachineOutliner.cpp
@@ -463,7 +463,7 @@ struct MachineOutliner : public ModulePass {
463
void getAnalysisUsage(AnalysisUsage &AU) const override {
464
AU.addRequired<MachineModuleInfoWrapperPass>();
465
AU.addPreserved<MachineModuleInfoWrapperPass>();
466
- AU.addRequired<ImmutableModuleSummaryIndexWrapperPass>();
+ AU.addUsedIfAvailable<ImmutableModuleSummaryIndexWrapperPass>();
467
AU.setPreservesAll();
468
ModulePass::getAnalysisUsage(AU);
469
}
0 commit comments