We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18f32b7 commit 84fb481Copy full SHA for 84fb481
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -995,6 +995,13 @@ LLVMRustOptimizeWithNewPassManager(
995
break;
996
}
997
998
+ } else {
999
+ // We're not building any of the default pipelines but we still want to
1000
+ // add the verifier, instrumentation, etc passes if they were requested
1001
+ for (const auto &C : PipelineStartEPCallbacks)
1002
+ C(MPM, OptLevel);
1003
+ for (const auto &C : OptimizerLastEPCallbacks)
1004
1005
1006
1007
if (ExtraPassesLen) {
0 commit comments