llvm-6502/test/CodeGen
Sanjay Patel 1115b2c27e Canonicalize splats as build_vectors (PR22283)
This is a follow-on patch to:
http://reviews.llvm.org/D7093

That patch canonicalized constant splats as build_vectors, 
and this patch removes the constant check so we can canonicalize
all splats as build_vectors.

This fixes the 2nd test case in PR22283:
http://llvm.org/bugs/show_bug.cgi?id=22283

The unfortunate code duplication between SelectionDAG and DAGCombiner
is discussed in the earlier patch review. At least this patch is just
removing code...

This improves an existing x86 AVX test and changes codegen in an ARM test.

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229511 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-17 16:54:32 +00:00
..
AArch64 AArch64: Safely handle the incoming sret call argument. 2015-02-16 18:10:47 +00:00
ARM Canonicalize splats as build_vectors (PR22283) 2015-02-17 16:54:32 +00:00
BPF
CPP
Generic
Hexagon
Inputs
Mips
MSP430
NVPTX
PowerPC Move ABI handling and 64-bitness to the PowerPC target machine. 2015-02-17 06:45:15 +00:00
R600 R600/SI: Extend private extload pattern to include zext loads 2015-02-17 16:36:00 +00:00
SPARC SelectionDAG: fold (fp_to_u/sint (s/uint_to_fp)) here too 2015-02-16 21:47:58 +00:00
SystemZ
Thumb
Thumb2
X86 Canonicalize splats as build_vectors (PR22283) 2015-02-17 16:54:32 +00:00
XCore