Add a testcase for checking the integer-promotion of many different vector
authorNadav Rotem <nadav.rotem@intel.com>
Tue, 14 Jun 2011 08:11:52 +0000 (08:11 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Tue, 14 Jun 2011 08:11:52 +0000 (08:11 +0000)
commitc2492c28ef04dbc77c5d47ec81ffc64c5407771f
treed62d4ad2c313ef8eb4350d447797a7143ee6af4a
parentc7cb7ed013d7672bccba61c8df5e921d8bd3ae75
Add a testcase for checking the integer-promotion of many different vector
types (with power of two types such as 8,16,32 .. 512).

Fix a bug in the integer promotion of bitcast nodes. Enable integer expanding
only if the target of the conversion is an integer (when the type action is
scalarize).

Add handling to the legalization of vector load/store in cases where the saved
vector is integer-promoted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132985 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/mem-promote-integers.ll [new file with mode: 0644]