Fix PR 10635. When generating integer constants, the constant element type may
authorNadav Rotem <nadav.rotem@intel.com>
Sat, 13 Aug 2011 20:31:45 +0000 (20:31 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Sat, 13 Aug 2011 20:31:45 +0000 (20:31 +0000)
commit5cbba0167165c61deb8f3223143643083013f046
treeb6254682cf1c9fd5dba4b6b5b30be90d92aa97cf
parent9a0f436da2daf8c53570d9fc06046d493e835a8f
Fix PR 10635. When generating integer constants, the constant element type may
be illegal, even if the requested vector type is legal. Testcase is one of the
disabled ARM tests in the vector-select patch.

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