[llvm] [SLP][TTI]Add support for strided loads. (PR #80310)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 10:07:04 PST 2024


================
@@ -250,6 +256,23 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
     return ST->is64Bit() && !ST->hasVInstructionsI64();
   }
 
+  bool isLegalStridedLoad(Type *DataType, Align Alignment) {
+    if (!ST->hasVInstructions())
----------------
alexey-bataev wrote:

Ok, will do

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


More information about the llvm-commits mailing list