Skip to content

Commit 875a3de

Browse files
authored
[RISCV][EVL] Drop EVLIndVarSimplifyPass from the pipeline (#151483)
With the VPlan-based canonical induction variable replacement landed in #147222, it appears to cover the functionality previously provided by the EVLIndVarSimplify pass introduced in #131005. This patch suggests removing EVLIndVarSimplify from the RISC-V pipeline as a follow-up step. Feedback is very welcome!
1 parent 9b195dc commit 875a3de

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Target/RISCV/RISCVTargetMachine.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -642,12 +642,6 @@ void RISCVTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
642642
OptimizationLevel Level) {
643643
LPM.addPass(LoopIdiomVectorizePass(LoopIdiomVectorizeStyle::Predicated));
644644
});
645-
646-
PB.registerVectorizerEndEPCallback(
647-
[](FunctionPassManager &FPM, OptimizationLevel Level) {
648-
if (Level.isOptimizingForSpeed())
649-
FPM.addPass(createFunctionToLoopPassAdaptor(EVLIndVarSimplifyPass()));
650-
});
651645
}
652646

653647
yaml::MachineFunctionInfo *

0 commit comments

Comments
 (0)