@@ -124,7 +124,7 @@ define i1 @src_sgt(i8 %x) {
124
124
125
125
define <2 x i1 > @src_sgt_vec (<2 x i8 > %x ) {
126
126
; 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)
128
128
; CHECK-NEXT: ret <2 x i1> [[CMP]]
129
129
;
130
130
%not = xor <2 x i8 > %x , <i8 -1 , i8 -1 >
@@ -145,7 +145,7 @@ define i1 @src_sge(i8 %x) {
145
145
146
146
define <2 x i1 > @src_sge_vec (<2 x i8 > %x ) {
147
147
; 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)
149
149
; CHECK-NEXT: ret <2 x i1> [[CMP]]
150
150
;
151
151
%not = xor <2 x i8 > %x , <i8 -1 , i8 -1 >
@@ -166,7 +166,7 @@ define i1 @src_ult(i8 %x) {
166
166
167
167
define <2 x i1 > @src_ult_vec (<2 x i8 > %x ) {
168
168
; 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)
170
170
; CHECK-NEXT: ret <2 x i1> [[CMP]]
171
171
;
172
172
%not = xor <2 x i8 > %x , <i8 -1 , i8 -1 >
@@ -187,7 +187,7 @@ define i1 @src_ule(i8 %x) {
187
187
188
188
define <2 x i1 > @src_ule_vec (<2 x i8 > %x ) {
189
189
; 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)
191
191
; CHECK-NEXT: ret <2 x i1> [[CMP]]
192
192
;
193
193
%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) {
197
197
198
198
define <2 x i1 > @src_ule_vec_min (<2 x i8 > %x ) {
199
199
; 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)
201
201
; CHECK-NEXT: ret <2 x i1> [[CMP]]
202
202
;
203
203
%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) {
207
207
208
208
define <2 x i1 > @src_ule_vec_128 (<2 x i128 > %x ) {
209
209
; 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)
211
211
; CHECK-NEXT: ret <2 x i1> [[CMP]]
212
212
;
213
213
%not = xor <2 x i128 > %x , <i128 -170141183460469231731687303715884105728 , i128 -170141183460469231731687303715884105728 >
0 commit comments