llvm-project/llvm/test/CodeGen
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
..
AArch64 [AArch64][TableGen] Skip tied result operands for InstAlias 2017-02-08 11:28:08 +00:00
AMDGPU AMDGPU: Enable InferAddressSpaces 2017-02-08 06:16:04 +00:00
ARM Add DAGCombiner load combine tests for {a|s}ext, {a|z|s}ext load nodes 2017-02-07 14:09:37 +00:00
AVR [AVR] Implement stacksave/stackrestore by expanding (PR31342) 2017-02-05 21:35:45 +00:00
BPF Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2017-02-02 18:24:55 +00:00
Generic [AVR] XFAIL a set of failing CodeGen tests 2017-02-08 10:24:18 +00:00
Hexagon [Hexagon] Remove encoding bits from mapped instructions 2017-02-07 17:42:11 +00:00
Inputs
Lanai [lanai] Simplify small section check in LowerGlobalAddress and treat ldata sections specially. 2016-12-15 16:56:16 +00:00
MIR [MIRParser] Allow generic register specification on operand. 2017-01-20 00:29:59 +00:00
MSP430 Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2017-02-02 18:24:55 +00:00
Mips [LLC] Add an inline assembly diagnostics handler. 2017-02-03 11:14:39 +00:00
NVPTX [NVPTX] Add tests that invariant vector loads get lowered to ld.global.nc. 2017-02-04 01:54:56 +00:00
PowerPC [PowerPC][Altivec] Add vnot extended mnemonic 2017-02-07 18:57:29 +00:00
SPARC [LLC] Add an inline assembly diagnostics handler. 2017-02-03 11:14:39 +00:00
SystemZ [TLI] Robustize SDAG LibFunc proto checking by merging it into TLI. 2017-02-03 19:11:19 +00:00
Thumb [LLC] Add an inline assembly diagnostics handler. 2017-02-03 11:14:39 +00:00
Thumb2 CodeGen: Allow small copyable blocks to "break" the CFG. 2017-01-31 23:48:32 +00:00
WebAssembly CodeGen: Allow small copyable blocks to "break" the CFG. 2017-01-31 23:48:32 +00:00
WinEH Avoid infinite loops in branch folding 2016-12-12 23:05:38 +00:00
X86 [X86] Add test for clflushopt intrinsic and only enable it to be selected if the feature flag is set. 2017-02-08 05:45:46 +00:00
XCore Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2017-02-02 18:24:55 +00:00