[llvm] [RISCV] Lower i64 load/stores to ld/sd with Zilsd. (PR #139808)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 21:09:13 PDT 2025
================
@@ -13714,6 +13739,28 @@ void RISCVTargetLowering::ReplaceNodeResults(SDNode *N,
// sext_inreg we emit for ADD/SUB/MUL/SLLI.
LoadSDNode *Ld = cast<LoadSDNode>(N);
+ if (N->getValueType(0) == MVT::i64) {
+ assert(Subtarget.hasStdExtZilsd() && !Subtarget.is64Bit() &&
+ "Unexpected custom legalisation");
+
----------------
topperc wrote:
Line 13735
https://github.com/llvm/llvm-project/pull/139808
More information about the llvm-commits
mailing list