aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2011-12-8-bitcastintprom.ll
Commit message (Collapse)AuthorAgeFilesLines
* The type-legalizer often scalarizes code. One of the common patterns is ↵Nadav Rotem2012-02-031-1/+1
| | | | | | | | | | | | extract-and-truncate. In this patch we optimize this pattern and convert the sequence into extract op of a narrow type. This allows the BUILD_VECTOR dag optimizations to construct efficient shuffle operations in many cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149692 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in the integer-promotion of bitcast operations on vector types.Nadav Rotem2011-12-081-0/+15
We must not issue a bitcast operation for integer-promotion of vector types, because the location of the values in the vector may be different. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146150 91177308-0d34-0410-b5e6-96231b3b80d8