Auto merge of #132419 - durin42:llvm-20-type-test-thing, r=cuviper
PassWrapper: adapt for llvm/llvm-project@b01e2a8b56 A boolean turned into an enum. None matches the old behavior of false, so we pass that. `@rustbot` label: +llvm-main
This commit is contained in:
commit
db034cee00
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user