[llvm] [LoopVectorize] Address comments on PR #107004 left post-commit (PR #109300)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 22 11:23:24 PDT 2024


================
@@ -1347,8 +1344,7 @@ loop.end:
 
 define i64 @loop_contains_load_after_early_exit(ptr dereferenceable(1024) align(8) %p2) {
 ; DEBUG-LABEL: LV: Checking a loop in 'loop_contains_load_after_early_exit'
-; DEBUG:       LV: Found an early exit. Retrying with speculative exit count.
-; DEBUG-NEXT:  LV: Found speculative backedge taken count: 63
+; DEBUG:       LV: Found an early exit loop with symbolic max backedge taken count: 63
 ; DEBUG-NEXT:  LV: We can vectorize this loop!
 ; DEBUG-NEXT:  LV: Not vectorizing: Auto-vectorization of early exit loops is not yet supported.
----------------
fhahn wrote:



```suggestion
; DEBUG-NEXT:  LV: Not vectorizing: Auto-vectorization of loops with uncountable early exit is not yet supported.
```

May be more accurate, as vectorizing with countable early exits is supported?

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


More information about the llvm-commits mailing list