From b5d12a526032919f14f0e2c211d8792bf10c1f80 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Mon, 5 Aug 2024 12:06:05 +0200 Subject: [PATCH] Remove the WarnMissedTransformations pass from the 1.10 pipeline (#55377) Backport of https://github.com/JuliaLang/julia/pull/54871 onto 1.10 We don't have the luxury of modifying the C-API. This pass surfaces LLVM missed transformation warnings, which is surprising to users. It can be very helpful, but it can also add unactionable noise to the output of Julia programs. This PR simply removes it from the pipeline. --- src/pipeline.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pipeline.cpp b/src/pipeline.cpp index 88c2da5d729c9..8a9410aa98247 100644 --- a/src/pipeline.cpp +++ b/src/pipeline.cpp @@ -72,7 +72,6 @@ #include #include #include -#include #include #include #include @@ -568,7 +567,6 @@ static void buildPipeline(ModulePassManager &MPM, PassBuilder *PB, OptimizationL if (O.getSpeedupLevel() >= 2) { buildVectorPipeline(FPM, PB, O, options); } - FPM.addPass(WarnMissedTransformationsPass()); MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); } buildIntrinsicLoweringPipeline(MPM, PB, O, options);