[llvm] 704dee2 - [LV] Update test after 66be00d (#155165)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 24 06:16:45 PDT 2025


Author: Ramkumar Ramachandra
Date: 2025-08-24T14:16:41+01:00
New Revision: 704dee255e96759cdabc92d15a297ab37f57cf81

URL: https://github.com/llvm/llvm-project/commit/704dee255e96759cdabc92d15a297ab37f57cf81
DIFF: https://github.com/llvm/llvm-project/commit/704dee255e96759cdabc92d15a297ab37f57cf81.diff

LOG: [LV] Update test after 66be00d (#155165)

66be00d ([VPlan] Introduce m_Cmp; match more compares) broke a test:
regen it with UTC to fix the build.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll b/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
index 106f159127e6f..64cca5196a8d8 100644
--- a/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
+++ b/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
@@ -19,11 +19,9 @@ define i8 @iv_used_in_exit_with_math(i8 noundef %g) {
 ; CHECK-NEXT:    [[TMP2:%.*]] = shl nuw i8 1, [[TMP0]]
 ; CHECK-NEXT:    [[TMP3:%.*]] = and i8 [[TMP1]], [[G]]
 ; CHECK-NEXT:    [[TMP4:%.*]] = and i8 [[TMP2]], [[G]]
-; CHECK-NEXT:    [[TMP5:%.*]] = icmp eq i8 [[TMP3]], 0
-; CHECK-NEXT:    [[TMP6:%.*]] = icmp eq i8 [[TMP4]], 0
+; CHECK-NEXT:    [[TMP7:%.*]] = icmp ne i8 [[TMP3]], 0
+; CHECK-NEXT:    [[TMP8:%.*]] = icmp ne i8 [[TMP4]], 0
 ; CHECK-NEXT:    [[INDEX_NEXT]] = add nuw i32 [[INDEX]], 2
-; CHECK-NEXT:    [[TMP7:%.*]] = xor i1 [[TMP5]], true
-; CHECK-NEXT:    [[TMP8:%.*]] = xor i1 [[TMP6]], true
 ; CHECK-NEXT:    [[TMP9:%.*]] = or i1 [[TMP7]], [[TMP8]]
 ; CHECK-NEXT:    [[TMP10:%.*]] = icmp eq i32 [[INDEX_NEXT]], 4
 ; CHECK-NEXT:    [[TMP11:%.*]] = or i1 [[TMP9]], [[TMP10]]
@@ -88,11 +86,9 @@ define i32 @iv_used_in_exit_with_loads(ptr align 4 dereferenceable(128) %src) {
 ; CHECK-NEXT:    [[TMP2:%.*]] = getelementptr inbounds i32, ptr [[SRC]], i32 [[TMP0]]
 ; CHECK-NEXT:    [[TMP3:%.*]] = load i32, ptr [[TMP1]], align 4
 ; CHECK-NEXT:    [[TMP4:%.*]] = load i32, ptr [[TMP2]], align 4
-; CHECK-NEXT:    [[TMP5:%.*]] = icmp eq i32 [[TMP3]], 0
-; CHECK-NEXT:    [[TMP6:%.*]] = icmp eq i32 [[TMP4]], 0
+; CHECK-NEXT:    [[TMP7:%.*]] = icmp ne i32 [[TMP3]], 0
+; CHECK-NEXT:    [[TMP8:%.*]] = icmp ne i32 [[TMP4]], 0
 ; CHECK-NEXT:    [[INDEX_NEXT]] = add nuw i32 [[INDEX]], 2
-; CHECK-NEXT:    [[TMP7:%.*]] = xor i1 [[TMP5]], true
-; CHECK-NEXT:    [[TMP8:%.*]] = xor i1 [[TMP6]], true
 ; CHECK-NEXT:    [[TMP9:%.*]] = or i1 [[TMP7]], [[TMP8]]
 ; CHECK-NEXT:    [[TMP10:%.*]] = icmp eq i32 [[INDEX_NEXT]], 32
 ; CHECK-NEXT:    [[TMP11:%.*]] = or i1 [[TMP9]], [[TMP10]]


        


More information about the llvm-commits mailing list