1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/CodeGen
Simon Pilgrim 02dd72b456 [DAGCombiner] Fold xor/and/or (bitcast(A), bitcast(B)) -> bitcast(op (A,B)) anytime before LegalizeVectorOprs
xor/and/or (bitcast(A), bitcast(B)) -> bitcast(op (A,B)) was only being combined at the AfterLegalizeTypes stage, this patch permits the combine to occur anytime before then as well.

The main aim with this to improve the ability to recognise bitmasks that can be converted to shuffles.

I had to modify a number of AVX512 mask tests as the basic bitcast to/from scalar pattern was being stripped out, preventing testing of the mmask bitops. By replacing the bitcasts with loads we can get almost the same result.

Differential Revision: http://reviews.llvm.org/D18944

llvm-svn: 265998
2016-04-11 21:10:33 +00:00
..
AArch64 Swift Calling Convention: swifterror target support. 2016-04-11 21:08:06 +00:00
AMDGPU Revert "AMDGPU/SI: Do not generate s_waitcnt after ds_permute/ds_bpermute" 2016-04-11 20:38:40 +00:00
ARM Swift Calling Convention: swifterror target support. 2016-04-11 21:08:06 +00:00
BPF
CPP
Generic Add missing test for the "Don't delete empty preheaders" added in r265397 2016-04-05 14:21:32 +00:00
Hexagon Revert r265817 2016-04-08 18:15:37 +00:00
Inputs testcase gardening: update the emissionKind enum to the new syntax. (NFC) 2016-04-01 00:16:49 +00:00
Lanai [lanai] LanaiSetflagAluCombiner more conservative 2016-04-05 16:18:13 +00:00
Mips [mips] Make Static a default relocation model for MIPS codegen 2016-04-11 15:24:23 +00:00
MIR [MIR] Teach the parser how to deal with register banks. 2016-04-08 16:40:43 +00:00
MSP430
NVPTX [NVPTX] Handle ldg created from sign-/zero-extended load 2016-04-05 12:38:01 +00:00
PowerPC Fix Load Control Dependence in MemCpy Generation 2016-04-08 19:44:40 +00:00
SPARC
SystemZ [SystemZ] Support conditional indirect sibling calls via BCR 2016-04-11 12:12:32 +00:00
Thumb Revert r265817 2016-04-08 18:15:37 +00:00
Thumb2
WebAssembly WebAssembly: fix cfg-stackify test 2016-04-05 17:01:52 +00:00
WinEH testcase gardening: update the emissionKind enum to the new syntax. (NFC) 2016-04-01 00:16:49 +00:00
X86 [DAGCombiner] Fold xor/and/or (bitcast(A), bitcast(B)) -> bitcast(op (A,B)) anytime before LegalizeVectorOprs 2016-04-11 21:10:33 +00:00
XCore testcase gardening: update the emissionKind enum to the new syntax. (NFC) 2016-04-01 00:16:49 +00:00