[llvm] [LV] Don't require scalar epilogue for unsupported IAG with tail (PR #96544)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 10:29:21 PDT 2024


================
@@ -1448,29 +1448,58 @@ class LoopVectorizationCostModel {
   /// Returns true if \p I is a memory instruction in an interleaved-group
   /// of memory accesses that can be vectorized with wide vector loads/stores
   /// and shuffles.
-  bool interleavedAccessCanBeWidened(Instruction *I, ElementCount VF);
+  bool interleavedAccessCanBeWidened(Instruction *I, ElementCount VF) const;
----------------
fhahn wrote:

Would be good to also include the additional DEBUG printing as part of the NFC patch

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


More information about the llvm-commits mailing list