summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestComments.cpp
diff options
context:
space:
mode:
authorAmara Emerson <amara.emerson@arm.com>2017-02-08 11:28:08 +0000
committerAmara Emerson <amara.emerson@arm.com>2017-02-08 11:28:08 +0000
commitfecdb36f9274b27ad534c9ff48159c9144de7c58 (patch)
tree0f0d0f16d976c92afccf10f95b4b379486df2b4a /clang/unittests/Format/FormatTestComments.cpp
parent47e38d6449fa03cef7f2d01487245f2ede9721be (diff)
downloadbcm5719-llvm-fecdb36f9274b27ad534c9ff48159c9144de7c58.tar.gz
bcm5719-llvm-fecdb36f9274b27ad534c9ff48159c9144de7c58.zip
[AArch64][TableGen] Skip tied result operands for InstAlias
This patch checks the number of operands in the resulting instruction instead of just the alias, then skips over tied operands when generating the printing method. This allows us to generate the preferred assembly syntax for the AArch64 'ins' instruction, which should always be displayed as 'mov' according to the ARMARM. Several unit tests have changed as a result, but only to reflect the preferred disassembly. Some other InstAlias patterns (movk/bic/orr) needed a slight adjustment to stop them becoming the default and breaking other unit tests. Patch by Graham Hunter. Differential Revision: https://reviews.llvm.org/D29219 llvm-svn: 294437
Diffstat (limited to 'clang/unittests/Format/FormatTestComments.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud