Skip to content

Commit db034ce

Browse files
committed
Auto merge of #132419 - durin42:llvm-20-type-test-thing, r=cuviper
PassWrapper: adapt for llvm/llvm-project@b01e2a8b5620466c3b A boolean turned into an enum. None matches the old behavior of false, so we pass that. `@rustbot` label: +llvm-main
2 parents 89ab655 + ab5583e commit db034ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -825,9 +825,9 @@ extern "C" LLVMRustResult LLVMRustOptimize(
825825
!NoPrepopulatePasses) {
826826
PipelineStartEPCallbacks.push_back(
827827
[](ModulePassManager &MPM, OptimizationLevel Level) {
828-
MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr,
829-
/*ImportSummary=*/nullptr,
830-
/*DropTypeTests=*/false));
828+
MPM.addPass(LowerTypeTestsPass(
829+
/*ExportSummary=*/nullptr,
830+
/*ImportSummary=*/nullptr));
831831
});
832832
}
833833

0 commit comments

Comments
 (0)