Skip to content

Commit ae81435

Browse files
committed
Revert rG8680dd5117b0c36f807fecc4360122ae1dd73b6d "[X86] getFauxShuffle - don't assume an UNDEF src element for AND/ANDNP results in an UNDEF shuffle mask index"
I screwed up the merge somehow.
1 parent 8680dd5 commit ae81435

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

llvm/test/CodeGen/X86/vector-shuffle-combining.ll

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3333,17 +3333,11 @@ define void @PR45604(<32 x i16>* %dst, <8 x i16>* %src) {
33333333
ret void
33343334
}
33353335

3336-
; getFauxShuffle AND/ANDN decoding wrongly assumed an undef src always gives an undef dst.
3336+
; FIXME: getFauxShuffle AND/ANDN decoding wrongly assumes an undef src always gives an undef dst.
33373337
define <2 x i64> @PR55157(<16 x i8>* %0) {
3338-
; SSE-LABEL: PR55157:
3339-
; SSE: # %bb.0:
3340-
; SSE-NEXT: xorps %xmm0, %xmm0
3341-
; SSE-NEXT: retq
3342-
;
3343-
; AVX-LABEL: PR55157:
3344-
; AVX: # %bb.0:
3345-
; AVX-NEXT: vxorps %xmm0, %xmm0, %xmm0
3346-
; AVX-NEXT: retq
3338+
; CHECK-LABEL: PR55157:
3339+
; CHECK: # %bb.0:
3340+
; CHECK-NEXT: retq
33473341
%2 = load <16 x i8>, <16 x i8>* %0, align 16
33483342
%3 = icmp eq <16 x i8> %2, zeroinitializer
33493343
%4 = tail call <16 x i8> @llvm.x86.sse2.pavg.b(<16 x i8> zeroinitializer, <16 x i8> zeroinitializer)

0 commit comments

Comments
 (0)