[PATCH] D30491: [AArch64AsmParser] cleanup/rewrite of function parseSysAlias

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 02:40:38 PST 2017


SjoerdMeijer created this revision.
Herald added a subscriber: aemerson.

This is a cleanup/rewrite of the parseSysAlias function. This was not using the tablegen instruction descriptions, but was “manually” matching the mnemonics and recreating the operands whereas all this information is already in tablegen, so all this code has been replaced with calls to lookupXYZByName tablegen calls.


https://reviews.llvm.org/D30491

Files:
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  lib/Target/AArch64/Utils/AArch64BaseInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30491.90140.patch
Type: text/x-patch
Size: 12725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170301/27f0653c/attachment.bin>


More information about the llvm-commits mailing list