llvm-project/llvm/test/CodeGen
David Green 2179867ddc [AArch64] Select saturating Neon instructions
This adds some extra patterns to select AArch64 Neon SQADD, UQADD, SQSUB
and UQSUB from the existing target independent sadd_sat, uadd_sat,
ssub_sat and usub_sat nodes.

It does not attempt to replace the existing int_aarch64_neon_uqadd
intrinsic nodes as they are apparently used for both scalar and vector,
and need to be legal on scalar types for some of the patterns to work.
The int_aarch64_neon_uqadd on scalar would move the two integers into
floating point registers, perform a Neon uqadd and move the value back.
I don't believe this is good idea for uadd_sat to do the same as the
scalar alternative is simpler (an adds with a csinv). For signed it may
be smaller, but I'm not sure about it being better.

So this just adds some extra patterns for the existing vector
instructions, matching on the _sat nodes.

Differential Revision: https://reviews.llvm.org/D69374
2019-10-31 17:28:36 +00:00
..
AArch64 [AArch64] Select saturating Neon instructions 2019-10-31 17:28:36 +00:00
AMDGPU AMDGPU: Disallow spill folding with m0 copies 2019-10-30 14:56:33 -07:00
ARC
ARM [cfi] Add flag to always generate .debug_frame 2019-10-31 09:48:30 +00:00
AVR
BPF [BPF] fix a CO-RE issue with -mattr=+alu32 2019-10-25 14:27:25 -07:00
Generic Reapply r374743 with a fix for the ocaml binding 2019-10-14 16:15:14 +00:00
Hexagon Fix pattern error for S2_tstbit_i instruction 2019-10-30 11:21:48 -05:00
Inputs
Lanai [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
MIR [X86] Model MXCSR for all SSE instructions 2019-10-30 15:07:49 -07:00
MSP430 [MSP430] fix typo in test name; NFC 2019-10-30 14:15:25 -04:00
Mips [MIPS GlobalISel] Select MSA vector generic and builtin fsqrt 2019-10-25 14:45:14 +02:00
NVPTX [NVPTX] Added llvm.nvvm.mma.m8n8k4.* intrinsics 2019-10-28 13:55:30 -07:00
PowerPC [PowerPC][AIX] Adds support for writing the data section in object files 2019-10-30 18:44:35 +00:00
RISCV [RISCV] Remove RA from reserved register to use as callee saved register 2019-10-29 11:32:16 +08:00
SPARC
SystemZ [FPEnv] Strict FP tests should use the requisite function attributes. 2019-10-04 17:03:46 +00:00
Thumb (Re)generate various tests. NFC 2019-10-08 16:16:26 +00:00
Thumb2 [InstCombine] Known-bits optimization for ARM MVE VADC. 2019-10-24 16:33:13 +01:00
WebAssembly [SDAG] fold insert_vector_elt with undef index 2019-10-27 15:28:43 -04:00
WinCFGuard Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
WinEH [Windows] Replace TrapUnreachable with an int3 insertion pass 2019-09-09 23:04:25 +00:00
X86 [X86] Model MXCSR for all SSE instructions 2019-10-30 15:07:49 -07:00
XCore