================
@@ -1076,6 +1078,11 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
ModulePassManager MPM;
+ if (Phase != ThinOrFullLTOPhase::ThinLTOPostLink) {
----------------
orodley wrote:
Done.
https://github.com/llvm/llvm-project/pull/133682