diff options
author | Amara Emerson <amara@apple.com> | 2023-02-09 21:56:02 -0800 |
---|---|---|
committer | Amara Emerson <amara@apple.com> | 2023-02-09 21:56:40 -0800 |
commit | 8e33c41e72ad42e4c27f8cbc3ad2e02b169637a1 (patch) | |
tree | 09ecfc8105c0524fb9b9fc3ea87eaac05204fcb9 /llvm/lib | |
parent | 5d10753314ed58e1f55d41118c8f082c5fc7b2d7 (diff) | |
download | llvm-8e33c41e72ad42e4c27f8cbc3ad2e02b169637a1.zip llvm-8e33c41e72ad42e4c27f8cbc3ad2e02b169637a1.tar.gz llvm-8e33c41e72ad42e4c27f8cbc3ad2e02b169637a1.tar.bz2 |
Inliner: Address missed review comments for D143624
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Passes/PassBuilderPipelines.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Passes/PassBuilderPipelines.cpp b/llvm/lib/Passes/PassBuilderPipelines.cpp index 3c6b4b8..9b96c80 100644 --- a/llvm/lib/Passes/PassBuilderPipelines.cpp +++ b/llvm/lib/Passes/PassBuilderPipelines.cpp @@ -1079,8 +1079,7 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level, if (EnableSyntheticCounts && !PGOOpt) MPM.addPass(SyntheticCountsPropagation()); - MPM.addPass(AlwaysInlinerPass( - /*InsertLifetimeIntrinsics=*/Level != OptimizationLevel::O0)); + MPM.addPass(AlwaysInlinerPass(/*InsertLifetimeIntrinsics=*/true)); if (EnableModuleInliner) MPM.addPass(buildModuleInlinerPipeline(Level, Phase)); |