Reapply 154397. Original message:
authorNadav Rotem <nadav.rotem@intel.com>
Wed, 11 Apr 2012 08:26:11 +0000 (08:26 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Wed, 11 Apr 2012 08:26:11 +0000 (08:26 +0000)
commit2e506198c8cc7eec8f2f4fb4719a07daef17f931
tree1d5614f76d6253dc53ec28d0d4e81db58be412b0
parent21293ac192d84f51c0f75c37ba50d90becc3e008
Reapply 154397. Original message:

Fix a dagcombine optimization which assumes that the vsetcc result type is always
of the same size as the compared values. This is ture for SSE/AVX/NEON but not
for all targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154490 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp