[llvm] [RISCV] Expand vp.stride.load to splat of a scalar load. (PR #98140)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 08:01:59 PDT 2024
================
@@ -155,6 +163,43 @@ bool RISCVCodeGenPrepare::visitIntrinsicInst(IntrinsicInst &I) {
return true;
}
+bool RISCVCodeGenPrepare::expandVPStrideLoad(IntrinsicInst &II) {
+ if (ST->hasOptimizedZeroStrideLoad())
+ return false;
----------------
lukel97 wrote:
I think I agree with you somewhat, lets leave it in. The undo-ing in RISCVISelDAGToDAG is a bit hidden, better to be explicit here.
https://github.com/llvm/llvm-project/pull/98140
More information about the llvm-commits
mailing list