Skip to content

Commit 2f7d3ec

Browse files
committed
[InstCombine] Regenerate test checks
The output changes in the meantime.
1 parent b9e4bde commit 2f7d3ec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/test/Transforms/InstCombine/icmp-of-xor-x.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ define i1 @src_sgt(i8 %x) {
124124

125125
define <2 x i1> @src_sgt_vec(<2 x i8> %x) {
126126
; CHECK-LABEL: @src_sgt_vec(
127-
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
127+
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], splat (i8 -1)
128128
; CHECK-NEXT: ret <2 x i1> [[CMP]]
129129
;
130130
%not = xor <2 x i8> %x, <i8 -1, i8 -1>
@@ -145,7 +145,7 @@ define i1 @src_sge(i8 %x) {
145145

146146
define <2 x i1> @src_sge_vec(<2 x i8> %x) {
147147
; CHECK-LABEL: @src_sge_vec(
148-
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
148+
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], splat (i8 -1)
149149
; CHECK-NEXT: ret <2 x i1> [[CMP]]
150150
;
151151
%not = xor <2 x i8> %x, <i8 -1, i8 -1>
@@ -166,7 +166,7 @@ define i1 @src_ult(i8 %x) {
166166

167167
define <2 x i1> @src_ult_vec(<2 x i8> %x) {
168168
; CHECK-LABEL: @src_ult_vec(
169-
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
169+
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], splat (i8 -1)
170170
; CHECK-NEXT: ret <2 x i1> [[CMP]]
171171
;
172172
%not = xor <2 x i8> %x, <i8 -1, i8 -1>
@@ -187,7 +187,7 @@ define i1 @src_ule(i8 %x) {
187187

188188
define <2 x i1> @src_ule_vec(<2 x i8> %x) {
189189
; CHECK-LABEL: @src_ule_vec(
190-
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
190+
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], splat (i8 -1)
191191
; CHECK-NEXT: ret <2 x i1> [[CMP]]
192192
;
193193
%not = xor <2 x i8> %x, <i8 -1, i8 -1>
@@ -197,7 +197,7 @@ define <2 x i1> @src_ule_vec(<2 x i8> %x) {
197197

198198
define <2 x i1> @src_ule_vec_min(<2 x i8> %x) {
199199
; CHECK-LABEL: @src_ule_vec_min(
200-
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
200+
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], splat (i8 -1)
201201
; CHECK-NEXT: ret <2 x i1> [[CMP]]
202202
;
203203
%not = xor <2 x i8> %x, <i8 -128, i8 -128>
@@ -207,7 +207,7 @@ define <2 x i1> @src_ule_vec_min(<2 x i8> %x) {
207207

208208
define <2 x i1> @src_ule_vec_128(<2 x i128> %x) {
209209
; CHECK-LABEL: @src_ule_vec_128(
210-
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i128> [[X:%.*]], <i128 -1, i128 -1>
210+
; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i128> [[X:%.*]], splat (i128 -1)
211211
; CHECK-NEXT: ret <2 x i1> [[CMP]]
212212
;
213213
%not = xor <2 x i128> %x, <i128 -170141183460469231731687303715884105728, i128 -170141183460469231731687303715884105728>

0 commit comments

Comments
 (0)