[llvm] 9068aed - [LV] Fix early exit tests after #223643. NFC (#226521)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 09:01:05 PDT 2026
Author: Luke Lau
Date: 2026-09-25T17:00:59+01:00
New Revision: 9068aede6fcbd3e47602fce96fbb077e3e4d8cc4
URL: https://github.com/llvm/llvm-project/commit/9068aede6fcbd3e47602fce96fbb077e3e4d8cc4
DIFF: https://github.com/llvm/llvm-project/commit/9068aede6fcbd3e47602fce96fbb077e3e4d8cc4.diff
LOG: [LV] Fix early exit tests after #223643. NFC (#226521)
Added:
Modified:
llvm/test/Transforms/LoopVectorize/early-exit-live-out-extract-lane.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopVectorize/early-exit-live-out-extract-lane.ll b/llvm/test/Transforms/LoopVectorize/early-exit-live-out-extract-lane.ll
index 11a394710f1e0..c9e097cc116f0 100644
--- a/llvm/test/Transforms/LoopVectorize/early-exit-live-out-extract-lane.ll
+++ b/llvm/test/Transforms/LoopVectorize/early-exit-live-out-extract-lane.ll
@@ -144,10 +144,10 @@ define i8 @early_exit_live_out_with_distinct_scalar_parts() {
; VF1IC2: [[VECTOR_EARLY_EXIT]]:
; VF1IC2-NEXT: [[TMP11:%.*]] = mul i8 [[TMP3]], 7
; VF1IC2-NEXT: [[TMP12:%.*]] = mul i8 [[TMP4]], 7
-; VF1IC2-NEXT: [[TMP13:%.*]] = icmp eq i1 [[TMP6]], false
+; VF1IC2-NEXT: [[TMP13:%.*]] = icmp eq i1 [[TMP8]], false
; VF1IC2-NEXT: [[TMP14:%.*]] = zext i1 [[TMP13]] to i64
; VF1IC2-NEXT: [[TMP15:%.*]] = add i64 1, [[TMP14]]
-; VF1IC2-NEXT: [[TMP16:%.*]] = icmp eq i1 [[TMP5]], false
+; VF1IC2-NEXT: [[TMP16:%.*]] = icmp eq i1 [[TMP7]], false
; VF1IC2-NEXT: [[TMP17:%.*]] = zext i1 [[TMP16]] to i64
; VF1IC2-NEXT: [[TMP18:%.*]] = add i64 0, [[TMP17]]
; VF1IC2-NEXT: [[TMP19:%.*]] = icmp ne i64 [[TMP17]], 1
@@ -190,9 +190,9 @@ define i8 @early_exit_live_out_with_distinct_scalar_parts() {
; VF4IC2: [[VECTOR_EARLY_EXIT]]:
; VF4IC2-NEXT: [[TMP9:%.*]] = mul <4 x i8> [[WIDE_LOAD]], splat (i8 7)
; VF4IC2-NEXT: [[TMP10:%.*]] = mul <4 x i8> [[WIDE_LOAD2]], splat (i8 7)
-; VF4IC2-NEXT: [[FIRST_ACTIVE_LANE:%.*]] = call i64 @llvm.experimental.cttz.elts.i64.v4i1(<4 x i1> [[TMP3]], i1 false)
+; VF4IC2-NEXT: [[FIRST_ACTIVE_LANE:%.*]] = call i64 @llvm.experimental.cttz.elts.i64.v4i1(<4 x i1> [[TMP5]], i1 false)
; VF4IC2-NEXT: [[TMP11:%.*]] = add i64 4, [[FIRST_ACTIVE_LANE]]
-; VF4IC2-NEXT: [[FIRST_ACTIVE_LANE3:%.*]] = call i64 @llvm.experimental.cttz.elts.i64.v4i1(<4 x i1> [[TMP2]], i1 false)
+; VF4IC2-NEXT: [[FIRST_ACTIVE_LANE3:%.*]] = call i64 @llvm.experimental.cttz.elts.i64.v4i1(<4 x i1> [[TMP4]], i1 false)
; VF4IC2-NEXT: [[TMP12:%.*]] = add i64 0, [[FIRST_ACTIVE_LANE3]]
; VF4IC2-NEXT: [[TMP13:%.*]] = icmp ne i64 [[FIRST_ACTIVE_LANE3]], 4
; VF4IC2-NEXT: [[TMP14:%.*]] = select i1 [[TMP13]], i64 [[TMP12]], i64 [[TMP11]]
More information about the llvm-commits
mailing list