Fixes PR49862.
This adds parsing support for the remaining address modes:
- address register indirect w/ index (with size & scale)
- memory indirect (pre- & post-indexed)
Some of these are not supported by codegen yet.
Paths
| Differential D108760
[M68k] Add parsing support for more operand types Needs ReviewPublic Authored by ricky26 on Aug 26 2021, 5:25 AM.
Details
Diff Detail
Event TimelineComment Actions I'd prefer to see the style changes separated out, there are a few too many for me to be bundled with functional changes, and there are places where it takes a moment to check whether something's a functional change or not.
Comment Actions Thank you for taking a look into this :-) Comment Actions Fair enough, makes good sense. I was trying to chip away at things which didn't involve messing with the instruction definitions (since they feel a little up in the air still). Either way I can shelve these for now and reconstitute them into separate patches at a later date along with the relevant functionality. Thanks all for the feedback. :) I might post a message on the llvm-dev mailing list asking about some of the next steps.
Revision Contents
Diff 368856 llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
llvm/test/MC/M68k/instructions.s
|
clang-tidy: error: 'M68kInstrInfo.h' file not found [clang-diagnostic-error]
not useful