Skip to content

Commit cfda886

Browse files
authored
[X86] Add constant pool comments for PADDB/W/D/Q. (llvm#191279)
Split from llvm#190274
1 parent f3d93f5 commit cfda886

File tree

5 files changed

+147
-143
lines changed

5 files changed

+147
-143
lines changed

llvm/lib/Target/X86/X86MCInstLower.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,6 +1967,10 @@ static void addConstantComments(const MachineInstr *MI,
19671967
INSTR_CASE(V, Instr, Z, kz)
19681968

19691969
// TODO: Add additional instructions when useful.
1970+
CASE_ARITH_RM(PADDB)
1971+
CASE_ARITH_RM(PADDW)
1972+
CASE_ARITH_RM(PADDD)
1973+
CASE_ARITH_RM(PADDQ)
19701974
CASE_ARITH_RM(PMADDUBSW)
19711975
CASE_ARITH_RM(PMADDWD)
19721976
CASE_ARITH_RM(PMULDQ)

0 commit comments

Comments
 (0)