[llvm] [IA]: Construct (de)interleave4 out of (de)interleave2 (PR #89276)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 15:43:10 PDT 2024
================
@@ -21112,6 +21128,11 @@ bool RISCVTargetLowering::lowerInterleaveIntrinsicToStore(IntrinsicInst *II,
VssegNFunc = Intrinsic::getDeclaration(SI->getModule(), IntrIds[Factor - 2],
{InVTy, XLenTy});
VL = Constant::getAllOnesValue(XLenTy);
+ SmallVector<Value *> Args(LeafNodes);
+ Args.push_back(SI->getPointerOperand());
+ Args.push_back(VL);
+ Builder.CreateCall(VssegNFunc, Args);
----------------
topperc wrote:
use a braced list instead of SmallVector
https://github.com/llvm/llvm-project/pull/89276
More information about the llvm-commits
mailing list