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 a0d98ff commit 5762031Copy full SHA for 5762031
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -829,7 +829,11 @@ extern "C" LLVMRustResult LLVMRustOptimize(
829
[](ModulePassManager &MPM, OptimizationLevel Level) {
830
MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr,
831
/*ImportSummary=*/nullptr,
832
+#if LLVM_VERSION_GE(20, 0)
833
+ /*DropTypeTests=*/llvm::lowertypetests::DropTestKind::None));
834
+#else
835
/*DropTypeTests=*/false));
836
+#endif
837
});
838
}
839
0 commit comments