Skip to content

Commit a11d70e

Browse files
committed
[X86] Remove unused isel pattern for zero extend from v16i1/v8i1 to v16i32/v8i64.
We have custom lowering on vzext that produces a vselect and a build vector. So zext never gets to isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322381 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 41f99d7 commit a11d70e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/Target/X86/X86InstrAVX512.td

-5
Original file line numberDiff line numberDiff line change
@@ -1337,11 +1337,6 @@ defm VPBROADCASTDr : avx512_int_broadcast_reg_vl<0x7C, avx512vl_i32_info,
13371337
defm VPBROADCASTQr : avx512_int_broadcast_reg_vl<0x7C, avx512vl_i64_info,
13381338
X86VBroadcast, GR64, HasAVX512>, VEX_W;
13391339

1340-
def : Pat <(v16i32 (X86vzext VK16WM:$mask)),
1341-
(VPBROADCASTDrZrkz VK16WM:$mask, (i32 (MOV32ri 0x1)))>;
1342-
def : Pat <(v8i64 (X86vzext VK8WM:$mask)),
1343-
(VPBROADCASTQrZrkz VK8WM:$mask, (i64 (MOV64ri 0x1)))>;
1344-
13451340
// Provide aliases for broadcast from the same register class that
13461341
// automatically does the extract.
13471342
multiclass avx512_int_broadcast_rm_lowering<X86VectorVTInfo DestInfo,

0 commit comments

Comments
 (0)