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) {
|
!NoPrepopulatePasses) {
|
||||||
PipelineStartEPCallbacks.push_back(
|
PipelineStartEPCallbacks.push_back(
|
||||||
[](ModulePassManager &MPM, OptimizationLevel Level) {
|
[](ModulePassManager &MPM, OptimizationLevel Level) {
|
||||||
MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr,
|
MPM.addPass(LowerTypeTestsPass(
|
||||||
/*ImportSummary=*/nullptr,
|
/*ExportSummary=*/nullptr,
|
||||||
/*DropTypeTests=*/false));
|
/*ImportSummary=*/nullptr));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user