@@ -170,16 +170,16 @@ define <4 x i32> @shuf_mul_v4i32_yy_use2(<4 x i32> %x, <4 x i32> %y, <4 x i32> %
170
170
171
171
; negative test - must have matching operand
172
172
173
- define <4 x float > @shuf_fadd_v4f32_no_common_op (<4 x float > %x , <4 x float > %y , <4 x float > %z , <4 x float > %w ) {
174
- ; CHECK-LABEL: define <4 x float> @shuf_fadd_v4f32_no_common_op (
173
+ define <4 x float > @shuf_fdiv_v4f32_no_common_op (<4 x float > %x , <4 x float > %y , <4 x float > %z , <4 x float > %w ) {
174
+ ; CHECK-LABEL: define <4 x float> @shuf_fdiv_v4f32_no_common_op (
175
175
; CHECK-SAME: <4 x float> [[X:%.*]], <4 x float> [[Y:%.*]], <4 x float> [[Z:%.*]], <4 x float> [[W:%.*]]) #[[ATTR0]] {
176
- ; CHECK-NEXT: [[B0:%.*]] = fadd <4 x float> [[X]], [[Y]]
177
- ; CHECK-NEXT: [[B1:%.*]] = fadd <4 x float> [[Z]], [[W]]
176
+ ; CHECK-NEXT: [[B0:%.*]] = fdiv <4 x float> [[X]], [[Y]]
177
+ ; CHECK-NEXT: [[B1:%.*]] = fdiv <4 x float> [[Z]], [[W]]
178
178
; CHECK-NEXT: [[R:%.*]] = shufflevector <4 x float> [[B0]], <4 x float> [[B1]], <4 x i32> <i32 1, i32 3, i32 5, i32 7>
179
179
; CHECK-NEXT: ret <4 x float> [[R]]
180
180
;
181
- %b0 = fadd <4 x float > %x , %y
182
- %b1 = fadd <4 x float > %z , %w
181
+ %b0 = fdiv <4 x float > %x , %y
182
+ %b1 = fdiv <4 x float > %z , %w
183
183
%r = shufflevector <4 x float > %b0 , <4 x float > %b1 , <4 x i32 > <i32 1 , i32 3 , i32 5 , i32 7 >
184
184
ret <4 x float > %r
185
185
}
0 commit comments