diff options
author | Min-Yih Hsu <min@myhsu.dev> | 2023-12-26 13:20:47 -0800 |
---|---|---|
committer | Min-Yih Hsu <min@myhsu.dev> | 2023-12-26 20:55:22 -0800 |
commit | 6f85075ff7281be1802c9fd30758d34b67481a1e (patch) | |
tree | b34687bc7167c10129e9ca5aacd8b0999c10af7d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 23b82c987d690939f3e7b1431d6004f409c10425 (diff) | |
download | llvm-6f85075ff7281be1802c9fd30758d34b67481a1e.zip llvm-6f85075ff7281be1802c9fd30758d34b67481a1e.tar.gz llvm-6f85075ff7281be1802c9fd30758d34b67481a1e.tar.bz2 |
[M68k] U/SMULd32d16 are not supposed to be communitive
M68k only has 16-bit x 16-bit -> 32-bit variant for multiplications
taking 16-bit operands. We still define two input operands for this
class of instructions, and tie the first operand to the result value.
The problem is that the two operands have different register classes
(DR32 and DR16) hence making these instructions communitive produces
invalid MachineInstr (though the final assembly will still be correct).
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions