Skip to content

Commit

Permalink
Rollup merge of rust-lang#132419 - durin42:llvm-20-type-test-thing, r…
Browse files Browse the repository at this point in the history
…=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
  • Loading branch information
workingjubilee authored Nov 2, 2024
2 parents 6f1ff28 + ab5583e commit b32ecc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -825,9 +825,9 @@ extern "C" LLVMRustResult LLVMRustOptimize(
!NoPrepopulatePasses) {
PipelineStartEPCallbacks.push_back(
[](ModulePassManager &MPM, OptimizationLevel Level) {
MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr,
/*ImportSummary=*/nullptr,
/*DropTypeTests=*/false));
MPM.addPass(LowerTypeTestsPass(
/*ExportSummary=*/nullptr,
/*ImportSummary=*/nullptr));
});
}

Expand Down

0 comments on commit b32ecc2

Please sign in to comment.