[llvm] [LoopVectorize] Enable vectorisation of early exit loops with live-outs (PR #120567)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 11:01:18 PST 2025


================
@@ -141,7 +140,6 @@ define i64 @loop_contains_load_after_early_exit(ptr dereferenceable(1024) align(
 ; CHECK-LABEL: LV: Checking a loop in 'loop_contains_load_after_early_exit'
 ; CHECK:       LV: Found an early exit loop with symbolic max backedge taken count: 63
 ; CHECK-NEXT:  LV: We can vectorize this loop!
----------------
fhahn wrote:

This should probably use `CHECK-NOT: LV: Not vectorizing`, otherwise the test will also pass without the code changes? Same above

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


More information about the llvm-commits mailing list