[llvm] [RISCV] Add ISel patterns for Xqciac QC_SHLADD instruction (PR #148256)

Sudharsan Veeravalli via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 12 00:20:36 PDT 2025


================
@@ -1359,6 +1359,12 @@ class SelectQCbi<CondCode Cond, DAGOperand InTyImm, Pseudo OpNode >
 let Predicates = [HasVendorXqciac, IsRV32] in {
 def : Pat<(XLenVT (add GPRNoX0:$rd, (mul GPRNoX0:$rs1, simm12:$imm12))),
           (QC_MULIADD GPRNoX0:$rd, GPRNoX0:$rs1, simm12:$imm12)>;
+foreach i = 4-31 in {
----------------
svs-quic wrote:

I should probably go sleep for a while. Sorry for missing the obvious. I've fixed this in the latest commit.

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


More information about the llvm-commits mailing list