[llvm] [RISCV] Tune flag for fast vrgather.vv (PR #124664)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 21:14:14 PST 2025


================
@@ -1365,6 +1365,10 @@ def FeatureUnalignedVectorMem
                       "true", "Has reasonably performant unaligned vector "
                       "loads and stores">;
 
+def TuneFastVRGather
+   : SubtargetFeature<"fast-vrgather", "HasFastVRGather",
+                      "true", "Has vrgather.vv with LMUL*log2(LMUL) latency">;
----------------
wangpc-pp wrote:

Not blocking, but what if the `vrgather.vv` is not with `LMUL*log2(LMUL)` complexity?

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


More information about the llvm-commits mailing list