[llvm] [RISCV] Remove`riscv.segN.load/store` in favor of their mask variants (PR #137045)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 09:26:26 PDT 2025


================
@@ -23877,10 +23821,11 @@ bool RISCVTargetLowering::lowerInterleavedLoad(
   };
 
   Value *VL = ConstantInt::get(XLenTy, VTy->getNumElements());
-
-  CallInst *VlsegN = Builder.CreateIntrinsic(
-      FixedVlsegIntrIds[Factor - 2], {VTy, LI->getPointerOperandType(), XLenTy},
-      {LI->getPointerOperand(), VL});
+  // All-ones mask.
----------------
mshockwave wrote:

Fixed

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


More information about the llvm-commits mailing list