Skip to content

Commit bf68403

Browse files
authored
Attempt to fix [CGData][MachineOutliner] Global Outlining (#90074) (#108037)
1 parent d778689 commit bf68403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MachineOutliner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ struct MachineOutliner : public ModulePass {
463463
void getAnalysisUsage(AnalysisUsage &AU) const override {
464464
AU.addRequired<MachineModuleInfoWrapperPass>();
465465
AU.addPreserved<MachineModuleInfoWrapperPass>();
466-
AU.addRequired<ImmutableModuleSummaryIndexWrapperPass>();
466+
AU.addUsedIfAvailable<ImmutableModuleSummaryIndexWrapperPass>();
467467
AU.setPreservesAll();
468468
ModulePass::getAnalysisUsage(AU);
469469
}

0 commit comments

Comments
 (0)