[PATCH] D115234: [M68k] Adopt the new VarLenCodeEmitterGen for arithmetic instructions
Min-Yih Hsu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 7 04:16:20 PST 2021
myhsu created this revision.
myhsu added reviewers: RKSimon, ricky26.
Herald added subscribers: hiraditya, mgorny.
myhsu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Following up D115128 <https://reviews.llvm.org/D115128> , this patch refactors all the existing M68k arithmetic instructions to use the new VarLenCodeEmitterGen infrastructure.
This patch is tested by the existing MC test cases.
Note that one of the codegen tests needed to be updated because the ordering of two equivalent instructions were switched.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115234
Files:
llvm/lib/Target/M68k/CMakeLists.txt
llvm/lib/Target/M68k/M68kInstrArithmetic.td
llvm/lib/Target/M68k/M68kInstrFormats.td
llvm/lib/Target/M68k/M68kInstrInfo.td
llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
llvm/test/CodeGen/M68k/Control/cmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115234.392339.patch
Type: text/x-patch
Size: 53657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211207/cea0da93/attachment.bin>
More information about the llvm-commits
mailing list