[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
Mon Nov 12 09:50:23 PST 2018


nemanjai created this revision.
nemanjai added reviewers: syzaara, hfinkel.
Herald added subscribers: jsji, kbarton.

We have some unfortunate code in the back end that defines a bunch of register sets for the Asm Parser. Every time another class is needed in the parser, we have to add another one of those definitions with explicit lists of registers. This NFC patch simply provides macros to use to condense that code a little bit.


Repository:
  rL LLVM

https://reviews.llvm.org/D54433

Files:
  lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54433.173700.patch
Type: text/x-patch
Size: 8217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181112/8b6d148f/attachment.bin>


More information about the llvm-commits mailing list