[VECTOR-SELECT] Address one of the bugs in pr10902.
authorNadav Rotem <nadav.rotem@intel.com>
Wed, 21 Sep 2011 14:34:38 +0000 (14:34 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Wed, 21 Sep 2011 14:34:38 +0000 (14:34 +0000)
commit1147248e6f40f2e5655f3d8243fe7ba49ed75d0a
tree896693bf7a80594d9e6370fdc27a7debb389ba7f
parent9c6cdf4c1c82842a97e02bef4cef2431ad2e61a3
[VECTOR-SELECT] Address one of the bugs in pr10902.

Vector SetCC result types need to be type-legalized.
This code worked before because scalar result types are known to be legal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140249 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/2011-09-21-setcc-bug.ll [new file with mode: 0644]