[llvm] [LV] Support strided load with a stride of -1 (PR #128718)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 13 14:51:15 PDT 2025


================
@@ -1115,6 +1115,7 @@ class LoopVectorizationCostModel {
     CM_Widen_Reverse, // For consecutive accesses with stride -1.
     CM_Interleave,
     CM_GatherScatter,
+    CM_Strided,
----------------
fhahn wrote:

I recently put up https://github.com/llvm/llvm-project/pull/139150 to start in this direction. I have a few follow up patches that should get us close

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


More information about the llvm-commits mailing list