Always use either MVT::i1 or getSetCCResultType for
authorDuncan Sands <baldrick@free.fr>
Mon, 20 Oct 2008 16:13:04 +0000 (16:13 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 20 Oct 2008 16:13:04 +0000 (16:13 +0000)
commit7e4982287591945c4e42ba8470a978e629789c76
tree1523f13aa4a3dd510e365f116e0a384caabfbff3
parentef5b199905cee0b78eb30cd44836e5b6ca5cbd09
Always use either MVT::i1 or getSetCCResultType for
the condition of a SELECT node.  Make sure that the
correct extension type (any-, sign- or zero-extend)
is used.

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