Skip to content

Commit 2b426e1

Browse files
author
Tony Varghese
committed
Fix llvm/test/CodeGen/PowerPC/xxeval-vselect-x-eqv.ll test failure as it picks up A ? B : XOR(B,C) pattern and matches xxeval with imm value 99
1 parent 6f852c3 commit 2b426e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/test/CodeGen/PowerPC/xxeval-vselect-x-eqv.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,9 @@ define <4 x i32> @ternary_A_not_C_eqv_BC_4x32(<4 x i1> %A, <4 x i32> %B, <4 x i3
174174
; CHECK: # %bb.0: # %entry
175175
; CHECK-NEXT: xxleqv v5, v5, v5
176176
; CHECK-NEXT: xxlnor vs0, v4, v4
177-
; CHECK-NEXT: xxleqv vs1, v4, v3
178177
; CHECK-NEXT: vslw v2, v2, v5
179178
; CHECK-NEXT: vsraw v2, v2, v5
180-
; CHECK-NEXT: xxsel v2, vs1, vs0, v2
179+
; CHECK-NEXT: xxeval v2, v2, vs0, v3, 99
181180
; CHECK-NEXT: blr
182181
entry:
183182
%not = xor <4 x i32> %C, <i32 -1, i32 -1, i32 -1, i32 -1> ; Vector not operation

0 commit comments

Comments
 (0)