llvm-6502/lib
Quentin Colombet 8e2e5ff024 [ARM] Improve the instruction selection of vector loads.
In the ARM back-end, build_vector nodes are lowered to a target specific
build_vector that uses floating point type. 
This works well, unless the inserted bitcasts survive until instruction
selection. In that case, they incur moves between integer unit and floating
point unit that may result in inefficient code.

In other words, this conversion may introduce artificial dependencies when the
code leading to the build vector cannot be completed with a floating point type.

In particular, this happens when loads are not aligned.

Before this patch, in that case, the compiler generates general purpose loads
and creates the floating point vector from them, instead of directly using the
vector unit.

The patch uses a vector friendly sequence of code when the inserted bitcasts to
floating point survived DAGCombine.

This is done by a target specific DAGCombine that changes the target specific
build_vector into a sequence of insert_vector_elt that get rid of the bitcasts.

<rdar://problem/14170854>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185587 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-03 21:42:57 +00:00
..
Analysis Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-03 15:07:05 +00:00
AsmParser
Bitcode
CodeGen Elaborate on comment. 2013-07-03 21:37:03 +00:00
DebugInfo
ExecutionEngine Fixed alignment of code sections in the JIT mode. Added a test to the JITMemoryManager. 2013-07-02 12:24:22 +00:00
IR Use an RWMutex instead of a Mutex in PassRegistry. 2013-07-03 18:38:08 +00:00
IRReader
Linker
MC [PowerPC] Remove VK_PPC_TLSGD and VK_PPC_TLSLD 2013-07-02 21:29:06 +00:00
Object Add support for gnu archives with a string table and no symtab. 2013-07-03 15:57:14 +00:00
Option
Support [APFloat] Swap an early out check so we do not dereference str.end(). 2013-07-02 15:50:05 +00:00
TableGen
Target [ARM] Improve the instruction selection of vector loads. 2013-07-03 21:42:57 +00:00
Transforms Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-03 15:07:05 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile