[llvm] [RISCV] Add late optimization pass for riscv (PR #133256)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 27 09:26:06 PDT 2025


================
@@ -565,6 +566,7 @@ void RISCVPassConfig::addPreEmitPass() {
   if (TM->getOptLevel() >= CodeGenOptLevel::Default &&
       EnableRISCVCopyPropagation)
     addPass(createMachineCopyPropagationPass(true));
+  addPass(createRISCVLateOptPass());
----------------
topperc wrote:

Can we remove this from the O0 pipeline?

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


More information about the llvm-commits mailing list