[llvm] [LV] Ignore user-specified interleave count when unsafe. (PR #153009)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 07:35:14 PDT 2025


================
@@ -417,21 +417,16 @@ for.end:                                 ; preds = %for.body, %entry
 
 ; Note: This test was added to ensure we always check the legality of reductions (end emit a warning if necessary) before checking for memory dependencies
 ; CHECK-REMARK: Scalable vectorization not supported for the reduction operations found in this loop.
-; CHECK-REMARK: vectorized loop (vectorization width: 4, interleaved count: 2)
+; CHECK-REMARK: vectorized loop (vectorization width: 4, interleaved count: 1)
----------------
david-arm wrote:

Is it worth adding a check for the remark we emit about ignoring the UserIC?

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


More information about the llvm-commits mailing list