Supporting relocatable and pc-relative immediate values for the new code emitter.
This also provides an example usage of the encoder directive introduced by D119100.
Paths
| Differential D119101
[M68k][VarLenCodeEmitter] Support reloc & pc-rel immediate values ClosedPublic Authored by myhsu on Feb 6 2022, 8:09 PM.
Details Summary Supporting relocatable and pc-relative immediate values for the new code emitter. This also provides an example usage of the encoder directive introduced by D119100.
Diff Detail
Event Timelinemyhsu added a parent revision: D119100: [TableGen] Add a new `encoder` directive into VarLenCodeEmitterGen.Feb 6 2022, 8:10 PM Comment Actions LGTM. I had underestimated how complicated it would be to generate relocations, but this looks good. This revision is now accepted and ready to land.Feb 15 2022, 2:36 AM This revision was landed with ongoing or failed builds.Feb 15 2022, 8:45 PM Closed by commit rG53a2bf8ac7c2: [M68k][VarLenCodeEmitter] Support reloc & pc-rel immediate values (authored by myhsu). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 409139 llvm/lib/Target/M68k/M68kInstrFormats.td
llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
llvm/test/MC/M68k/pc-rel.s
|