Fix several places to handle vector operands properly.
authorDan Gohman <gohman@apple.com>
Tue, 2 Mar 2010 02:14:38 +0000 (02:14 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 2 Mar 2010 02:14:38 +0000 (02:14 +0000)
commit5b870aff81da0c07413f0241087bb3722954b83d
treec0783ff5e30f3f856aadedb6e5f5f2a04c1be283
parent069d6f3396856655d5d4ba155ee16eb0209d38b0
Fix several places to handle vector operands properly.
Based on a patch by Micah Villmow for PR6438.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97538 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/vec_cast.ll