llvm-project/llvm/test/CodeGen
Jessica Paquette cb2d8b30ad [AArch64][GlobalISel] Select trn1 and trn2
Same idea as for zip, uzp, etc. Teach the post-legalizer combiner to recognize
G_SHUFFLE_VECTORs that are trn1/trn2 instructions.

- Add G_TRN1 and G_TRN2
- Port mask matching code from AArch64ISelLowering
- Produce G_TRN1 and G_TRN2 in the post-legalizer combiner
- Select via importer

Add select-trn.mir to test selection.

Add postlegalizer-combiner-trn.mir to test the combine. This is similar to the
existing arm64-trn test.

Note that both of these tests contain things we currently don't legalize.

I figured it would be easier to test these now rather than later, since once
we legalize the G_SHUFFLE_VECTORs, it's not guaranteed that someone will update
the tests.

Differential Revision: https://reviews.llvm.org/D81182
2020-06-09 10:55:19 -07:00
..
AArch64 [AArch64][GlobalISel] Select trn1 and trn2 2020-06-09 10:55:19 -07:00
AMDGPU Revert "[AMDGPU/MemOpsCluster] Implement new heuristic for computing max mem ops cluster size" 2020-06-09 19:27:17 +05:30
ARC
ARM [ARM] prologue instructions emitted for naked function with >64 byte argument 2020-06-09 11:33:03 +01:00
AVR [AVR][test] Remove test for naked function containing a return. 2020-06-09 09:06:47 +01:00
BPF [BPF] Remove unnecessary MOV_32_64 instructions 2020-06-03 08:14:54 -07:00
Generic [Tests] Migrate a number of tests to gc-live bundle representation 2020-06-05 16:44:04 -07:00
Hexagon Simplify MachineVerifier's block-successor verification. 2020-06-06 22:30:51 -04:00
Inputs
Lanai
MIR [MachineVerifier] Verify that a DBG_VALUE has a debug location 2020-05-28 13:53:40 -07:00
MSP430
Mips RegAllocFast: Record internal state based on register units 2020-06-03 16:51:46 -04:00
NVPTX
PowerPC [MachineVerifier] Add TiedOpsRewritten flag to fix verify two-address error 2020-06-09 07:39:42 +00:00
RISCV Add NoMerge MIFlag to avoid MIR branch folding 2020-05-29 12:31:06 -07:00
SPARC
SystemZ [SystemZ] Implement -fstack-clash-protection 2020-06-06 18:38:36 +02:00
Thumb
Thumb2 [ARM] Add some MVE vecreduce tests. NFC 2020-06-09 12:07:19 +01:00
VE [VE] Support lowering to NND instruction 2020-06-09 10:18:14 +02:00
WebAssembly [WebAssembly] Implement prototype SIMD rounding instructions 2020-06-09 10:14:14 -07:00
WinCFGuard
WinEH
X86 [DAGCombiner] allow more folding of fadd + fmul into fma 2020-06-09 10:41:27 -04:00
XCore