llvm-6502/lib
Filipe Cabecinhas d99cefbad1 Convert a vselect into a concat_vector if possible
Summary:
If both vector args to vselect are concat_vectors and the condition is
constant and picks half a vector from each argument, convert the vselect
into a concat_vectors.

Added a test.

The ConvertSelectToConcatVector is assuming it doesn't get vselects with
arguments of, for example, <undef, undef, true, true>. Those get taken
care of in the checks above its call.

Reviewers: nadav, delena, grosbach, hfinkel

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209929 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-30 23:03:11 +00:00
..
Analysis implement missing SCEVDivision case 2014-05-29 19:44:09 +00:00
AsmParser [pr19844] Add thread local mode to aliases. 2014-05-28 18:15:43 +00:00
Bitcode [pr19844] Add thread local mode to aliases. 2014-05-28 18:15:43 +00:00
CodeGen Convert a vselect into a concat_vector if possible 2014-05-30 23:03:11 +00:00
DebugInfo [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
ExecutionEngine AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
IR [X86] Auto-upgrade AVX1 vbroadcast intrinsics 2014-05-29 23:35:33 +00:00
IRReader
LineEditor
Linker
LTO AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
MC Fix MIPS exception personality encoding. 2014-05-30 16:48:56 +00:00
Object MachO: support N_INDR aliases in assembly files. 2014-05-30 13:22:59 +00:00
Option
ProfileData
Support Fixup sys::getHostCPUFeatures crypto names so it doesn't clash with kernel headers 2014-05-23 10:14:13 +00:00
TableGen [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
Target isSVR4ABI() returned !isDarwin() so just move that to the else 2014-05-30 22:47:53 +00:00
Transforms Make bitcast, extractelement, and insertelement considered cheap for speculation. 2014-05-30 18:34:43 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile