Replace the unknown operand used for immediate operands for DIV/MUL with a fixed 16-bit immediate.
This is required since the assembly parser generator requires that all operands are typed.
Paths
| Differential D98819
[M68k] Replace unknown operand with explicit type ClosedPublic Authored by ricky26 on Mar 17 2021, 2:54 PM.
Details
Summary Replace the unknown operand used for immediate operands for DIV/MUL with a fixed 16-bit immediate. This is required since the assembly parser generator requires that all operands are typed.
Diff Detail
Event TimelineComment Actions LGTM after the inlined comment is addressed.
This revision was landed with ongoing or failed builds. Closed by commit rG028d6250eac5: [M68k] Replace unknown operand with explicit type (authored by ricky26). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 331855 llvm/lib/Target/M68k/M68kInstrArithmetic.td
|
Though this is only used by division for now, I would recommend to write a more general description (without mentioning division).