Skip to content

Commit

Permalink
[X86][CodeGen] Add entries for TB_BCAST_SH in getBroadcastOpcode
Browse files Browse the repository at this point in the history
  • Loading branch information
KanRobert committed Jan 30, 2024
1 parent fdac7d0 commit 02a275c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Target/X86/X86InstrInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8150,6 +8150,8 @@ static unsigned getBroadcastOpcode(const X86FoldTableEntry *I,
VPBROADCASTDZrm)
CASE_BCAST_TYPE_OPC(TB_BCAST_Q, VPBROADCASTQZ128rm, VPBROADCASTQZ256rm,
VPBROADCASTQZrm)
CASE_BCAST_TYPE_OPC(TB_BCAST_SH, VPBROADCASTWZ128rm, VPBROADCASTWZ256rm,
VPBROADCASTWZrm)
CASE_BCAST_TYPE_OPC(TB_BCAST_SS, VBROADCASTSSZ128rm, VBROADCASTSSZ256rm,
VBROADCASTSSZrm)
CASE_BCAST_TYPE_OPC(TB_BCAST_SD, VMOVDDUPZ128rm, VBROADCASTSDZ256rm,
Expand Down

0 comments on commit 02a275c

Please sign in to comment.