[llvm-branch-commits] [RISCV] Support select optimization (PR #80124)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 12 09:33:52 PST 2024


================
@@ -445,6 +450,9 @@ void RISCVPassConfig::addIRPasses() {
     if (EnableLoopDataPrefetch)
       addPass(createLoopDataPrefetchPass());
 
+    if (EnableSelectOpt && getOptLevel() == CodeGenOptLevel::Aggressive)
----------------
topperc wrote:

Shoudl this be after addIRPasses like it is for AArch64?

https://github.com/llvm/llvm-project/pull/80124


More information about the llvm-branch-commits mailing list