Skip to content

Commit 8e33c41

Browse files
committed
Inliner: Address missed review comments for D143624
1 parent 5d10753 commit 8e33c41

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

llvm/lib/Passes/PassBuilderPipelines.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,8 +1079,7 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
10791079
if (EnableSyntheticCounts && !PGOOpt)
10801080
MPM.addPass(SyntheticCountsPropagation());
10811081

1082-
MPM.addPass(AlwaysInlinerPass(
1083-
/*InsertLifetimeIntrinsics=*/Level != OptimizationLevel::O0));
1082+
MPM.addPass(AlwaysInlinerPass(/*InsertLifetimeIntrinsics=*/true));
10841083

10851084
if (EnableModuleInliner)
10861085
MPM.addPass(buildModuleInlinerPipeline(Level, Phase));

0 commit comments

Comments
 (0)