[llvm] [RISCV] Expand vp.stride.load to splat of a scalar load. (PR #98140)
Yeting Kuo via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 04:45:21 PDT 2024
================
@@ -155,6 +163,43 @@ bool RISCVCodeGenPrepare::visitIntrinsicInst(IntrinsicInst &I) {
return true;
}
+bool RISCVCodeGenPrepare::expandVPStrideLoad(IntrinsicInst &II) {
+ if (ST->hasOptimizedZeroStrideLoad())
+ return false;
----------------
yetingk wrote:
I prefer preserve this condition to avoid unnecessary combine work.
https://github.com/llvm/llvm-project/pull/98140
More information about the llvm-commits
mailing list