We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce19103 commit 4dade90Copy full SHA for 4dade90
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
@@ -652,8 +652,7 @@ void RISCVPassConfig::addPostRegAlloc() {
652
void RISCVTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
653
PB.registerLateLoopOptimizationsEPCallback([=](LoopPassManager &LPM,
654
OptimizationLevel Level) {
655
- if (Level != OptimizationLevel::O0)
656
- LPM.addPass(LoopIdiomVectorizePass(LoopIdiomVectorizeStyle::Predicated));
+ LPM.addPass(LoopIdiomVectorizePass(LoopIdiomVectorizeStyle::Predicated));
657
});
658
}
659
0 commit comments