Revert an earlier change to SIGN_EXTEND_INREG for vectors. The VTSDNode
authorDan Gohman <gohman@apple.com>
Sat, 9 Jan 2010 02:13:55 +0000 (02:13 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 9 Jan 2010 02:13:55 +0000 (02:13 +0000)
commitd1996360399ad6dbe75ee185b661b16c83146373
tree02b89e058115af07ac54af470d7adbc3b30aea52
parent70644e92d810f36710bc289cda11e982b399fc88
Revert an earlier change to SIGN_EXTEND_INREG for vectors. The VTSDNode
really does need to be a vector type, because
TargetLowering::getOperationAction for SIGN_EXTEND_INREG uses that type,
and it needs to be able to distinguish between vectors and scalars.

Also, fix some more issues with legalization of vector casts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93043 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/vec_cast.ll [new file with mode: 0644]
test/CodeGen/X86/vec_ext_inreg.ll