Skip to content

Commit 4f5f5da

Browse files
committed
Remove test that uses undef
1 parent e4b329f commit 4f5f5da

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

llvm/test/Transforms/VectorCombine/X86/shuffle-of-casts.ll

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -369,18 +369,6 @@ define <4 x i16> @unary_shuffle_sext_v8i8_v4i16(<8 x i8> %a0) {
369369
ret <4 x i16> %vec.shuffle
370370
}
371371

372-
define <4 x i16> @unary_shuffle_sext_v8i8_v4i16_undef(<8 x i8> %a0) {
373-
; CHECK-LABEL: define <4 x i16> @unary_shuffle_sext_v8i8_v4i16_undef(
374-
; CHECK-SAME: <8 x i8> [[A0:%.*]]) #[[ATTR0]] {
375-
; CHECK-NEXT: [[VEC_SHUFFLE:%.*]] = shufflevector <8 x i8> [[A0]], <8 x i8> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
376-
; CHECK-NEXT: [[X1:%.*]] = sext <4 x i8> [[VEC_SHUFFLE]] to <4 x i16>
377-
; CHECK-NEXT: ret <4 x i16> [[X1]]
378-
;
379-
%x1 = sext <8 x i8> %a0 to <8 x i16>
380-
%vec.shuffle = shufflevector <8 x i16> %x1, <8 x i16> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
381-
ret <4 x i16> %vec.shuffle
382-
}
383-
384372
; negative - avoid loop with foldBitcastOfShuffle
385373

386374
define <2 x i32> @unary_shuffle_bitcast_v8i8_v2i32(<8 x i8> %a0) {

0 commit comments

Comments
 (0)