[PATCH] D54433: [PowerPC][NFC] Macro for register set defs for the Asm Parser
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 16 13:01:43 PST 2018
nemanjai updated this revision to Diff 174434.
nemanjai added a comment.
Removed the actual definitions of the static arrays from the header. Simply provided the macro for the defs in the header and the macro is used in only the two CU's that need it.
This way if we need to add any new ones, they just need to be added to the macro.
Repository:
rL LLVM
https://reviews.llvm.org/D54433
Files:
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54433.174434.patch
Type: text/x-patch
Size: 22387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181116/b7e161bd/attachment.bin>
More information about the llvm-commits
mailing list