llvm-project/llvm
Amara Emerson fecdb36f92 [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
2017-02-08 11:28:08 +00:00
..
bindings
cmake [CMake] Fix USE_LLVM_SANITIZER configuration for out-of-tree builds. 2017-02-07 22:48:20 +00:00
docs Fix the docs build 2017-02-07 20:36:03 +00:00
examples Use print() instead of dump() in code 2017-01-28 02:47:46 +00:00
include [Assembler] Enable nicer diagnostics for inline assembly. 2017-02-08 10:20:07 +00:00
lib [AArch64][TableGen] Skip tied result operands for InstAlias 2017-02-08 11:28:08 +00:00
projects
resources
runtimes [CMake] Handle common options for runtimes build 2017-01-10 19:47:05 +00:00
test [AArch64][TableGen] Skip tied result operands for InstAlias 2017-02-08 11:28:08 +00:00
tools Use dynamic symbols for ELF disassembly 2017-02-08 09:44:18 +00:00
unittests [Orc][RPC] Add a HandlerTratis specialization for free functions. 2017-02-08 00:13:51 +00:00
utils [AArch64][TableGen] Skip tied result operands for InstAlias 2017-02-08 11:28:08 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Allow overriding CMAKE_LIBTOOL 2017-02-07 23:32:56 +00:00
CODE_OWNERS.TXT Update CODE_OWNERS with my new email address 2017-02-08 10:38:06 +00:00
CREDITS.TXT Revert r294228 2017-02-06 19:40:56 +00:00
LICENSE.TXT Bump year to 2017 in LICENSE.txt 2017-01-12 18:02:42 +00:00
LLVMBuild.txt
README.txt Test commit: remove a blank line. 2017-02-03 10:56:57 +00:00
RELEASE_TESTERS.TXT Update the release tester for MIPS. NFC. 2017-01-17 11:00:28 +00:00
configure
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.