[llvm] [RISCV] Decompose LMUL > 1 reverses into LMUL * M1 vrgather.vv (PR #104574)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 12:07:43 PDT 2024
================
@@ -269,7 +269,8 @@ def SIFIVE_P470 : RISCVProcessorModel<"sifive-p470", SiFiveP400Model,
FeatureUnalignedScalarMem,
FeatureUnalignedVectorMem]),
!listconcat(SiFiveP400TuneFeatures,
- [TuneNoSinkSplatOperands])>;
+ [TuneNoSinkSplatOperands,
+ TuneOptimizedVectorGather])>;
----------------
topperc wrote:
I looked back over our internal documentation. I think this might still be profitable on these CPUs. There's an additional constant overhead for LMUL>1 even when the indices only read a single source.
https://github.com/llvm/llvm-project/pull/104574
More information about the llvm-commits
mailing list