[llvm] [RISCV] add more generic macrofusions (PR #151140)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 29 09:52:34 PDT 2025
================
@@ -91,3 +91,94 @@ def TuneLDADDFusion
CheckIsImmOperand<2>,
CheckImmOperand<2, 0>
]>>;
+
+// Fuse add with lw:
+// add rd, rs1, rs2
+// lw rd, 0(rd)
----------------
topperc wrote:
Sorry I didn't realized we had TuneLDADDFusion already. Looks like it is only used by ventana-veyron-v1. Is that the only add+load fusion implemented by ventana-veyron-v1?
https://github.com/llvm/llvm-project/pull/151140
More information about the llvm-commits
mailing list