[llvm-branch-commits] [llvm] [RISCV] Support CodeGen of Zilx extension (PR #209420)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jul 25 12:21:12 PDT 2026


================
@@ -3760,7 +3760,8 @@ static bool isRegRegScaleLoadOrStore(SDNode *User, SDValue Add,
     return false;
   EVT VT = cast<MemSDNode>(User)->getMemoryVT();
   if (!(VT.isScalarInteger() &&
-        (Subtarget.hasVendorXTHeadMemIdx() || Subtarget.hasVendorXqcisls())) &&
+        (Subtarget.hasStdExtZilx() || Subtarget.hasVendorXTHeadMemIdx() ||
----------------
topperc wrote:

Do we need to check that the opcode is ISD::LOAD for Zilx?

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


More information about the llvm-branch-commits mailing list