|
7 | 7 |
|
8 | 8 | define <8 x i16> @undef_pmaddubsw_128(<16 x i8> %a0) {
|
9 | 9 | ; CHECK-LABEL: @undef_pmaddubsw_128(
|
10 |
| -; CHECK-NEXT: [[TMP1:%.*]] = call <8 x i16> @llvm.x86.ssse3.pmadd.ub.sw.128(<16 x i8> [[A0:%.*]], <16 x i8> undef) |
11 |
| -; CHECK-NEXT: ret <8 x i16> [[TMP1]] |
| 10 | +; CHECK-NEXT: ret <8 x i16> zeroinitializer |
12 | 11 | ;
|
13 | 12 | %1 = call <8 x i16> @llvm.x86.ssse3.pmadd.ub.sw.128(<16 x i8> %a0, <16 x i8> undef)
|
14 | 13 | ret <8 x i16> %1
|
15 | 14 | }
|
16 | 15 |
|
17 | 16 | define <8 x i16> @undef_pmaddubsw_128_commute(<16 x i8> %a0) {
|
18 | 17 | ; CHECK-LABEL: @undef_pmaddubsw_128_commute(
|
19 |
| -; CHECK-NEXT: [[TMP1:%.*]] = call <8 x i16> @llvm.x86.ssse3.pmadd.ub.sw.128(<16 x i8> undef, <16 x i8> [[A0:%.*]]) |
20 |
| -; CHECK-NEXT: ret <8 x i16> [[TMP1]] |
| 18 | +; CHECK-NEXT: ret <8 x i16> zeroinitializer |
21 | 19 | ;
|
22 | 20 | %1 = call <8 x i16> @llvm.x86.ssse3.pmadd.ub.sw.128(<16 x i8> undef, <16 x i8> %a0)
|
23 | 21 | ret <8 x i16> %1
|
24 | 22 | }
|
25 | 23 |
|
26 | 24 | define <16 x i16> @undef_pmaddubsw_256(<32 x i8> %a0) {
|
27 | 25 | ; CHECK-LABEL: @undef_pmaddubsw_256(
|
28 |
| -; CHECK-NEXT: [[TMP1:%.*]] = call <16 x i16> @llvm.x86.avx2.pmadd.ub.sw(<32 x i8> [[A0:%.*]], <32 x i8> undef) |
29 |
| -; CHECK-NEXT: ret <16 x i16> [[TMP1]] |
| 26 | +; CHECK-NEXT: ret <16 x i16> zeroinitializer |
30 | 27 | ;
|
31 | 28 | %1 = call <16 x i16> @llvm.x86.avx2.pmadd.ub.sw(<32 x i8> %a0, <32 x i8> undef)
|
32 | 29 | ret <16 x i16> %1
|
33 | 30 | }
|
34 | 31 |
|
35 | 32 | define <16 x i16> @undef_pmaddubsw_256_commute(<32 x i8> %a0) {
|
36 | 33 | ; CHECK-LABEL: @undef_pmaddubsw_256_commute(
|
37 |
| -; CHECK-NEXT: [[TMP1:%.*]] = call <16 x i16> @llvm.x86.avx2.pmadd.ub.sw(<32 x i8> undef, <32 x i8> [[A0:%.*]]) |
38 |
| -; CHECK-NEXT: ret <16 x i16> [[TMP1]] |
| 34 | +; CHECK-NEXT: ret <16 x i16> zeroinitializer |
39 | 35 | ;
|
40 | 36 | %1 = call <16 x i16> @llvm.x86.avx2.pmadd.ub.sw(<32 x i8> undef, <32 x i8> %a0)
|
41 | 37 | ret <16 x i16> %1
|
42 | 38 | }
|
43 | 39 |
|
44 | 40 | define <32 x i16> @undef_pmaddubsw_512(<64 x i8> %a0) {
|
45 | 41 | ; CHECK-LABEL: @undef_pmaddubsw_512(
|
46 |
| -; CHECK-NEXT: [[TMP1:%.*]] = call <32 x i16> @llvm.x86.avx512.pmaddubs.w.512(<64 x i8> [[A0:%.*]], <64 x i8> undef) |
47 |
| -; CHECK-NEXT: ret <32 x i16> [[TMP1]] |
| 42 | +; CHECK-NEXT: ret <32 x i16> zeroinitializer |
48 | 43 | ;
|
49 | 44 | %1 = call <32 x i16> @llvm.x86.avx512.pmaddubs.w.512(<64 x i8> %a0, <64 x i8> undef)
|
50 | 45 | ret <32 x i16> %1
|
51 | 46 | }
|
52 | 47 |
|
53 | 48 | define <32 x i16> @undef_pmaddubsw_512_commute(<64 x i8> %a0) {
|
54 | 49 | ; CHECK-LABEL: @undef_pmaddubsw_512_commute(
|
55 |
| -; CHECK-NEXT: [[TMP1:%.*]] = call <32 x i16> @llvm.x86.avx512.pmaddubs.w.512(<64 x i8> undef, <64 x i8> [[A0:%.*]]) |
56 |
| -; CHECK-NEXT: ret <32 x i16> [[TMP1]] |
| 50 | +; CHECK-NEXT: ret <32 x i16> zeroinitializer |
57 | 51 | ;
|
58 | 52 | %1 = call <32 x i16> @llvm.x86.avx512.pmaddubs.w.512(<64 x i8> undef, <64 x i8> %a0)
|
59 | 53 | ret <32 x i16> %1
|
|
0 commit comments