[RISCV] Remove Gather/Scatter Opt from the O0 pipeline.

This commit is contained in:
Craig Topper 2022-07-15 10:27:52 -07:00
parent 53b90dd372
commit ee6267c443
2 changed files with 2 additions and 4 deletions

View File

@ -189,7 +189,8 @@ TargetPassConfig *RISCVTargetMachine::createPassConfig(PassManagerBase &PM) {
void RISCVPassConfig::addIRPasses() {
addPass(createAtomicExpandPass());
addPass(createRISCVGatherScatterLoweringPass());
if (getOptLevel() != CodeGenOpt::None)
addPass(createRISCVGatherScatterLoweringPass());
TargetPassConfig::addIRPasses();
}

View File

@ -20,9 +20,6 @@
; CHECK-NEXT: Pre-ISel Intrinsic Lowering
; CHECK-NEXT: FunctionPass Manager
; CHECK-NEXT: Expand Atomic instructions
; CHECK-NEXT: Dominator Tree Construction
; CHECK-NEXT: Natural Loop Information
; CHECK-NEXT: RISCV gather/scatter lowering
; CHECK-NEXT: Module Verifier
; CHECK-NEXT: Lower Garbage Collection Instructions
; CHECK-NEXT: Shadow Stack GC Lowering