Don't use a random type for the select condition,
authorDuncan Sands <baldrick@free.fr>
Mon, 20 Oct 2008 16:04:57 +0000 (16:04 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 20 Oct 2008 16:04:57 +0000 (16:04 +0000)
commitf6e29499ac036821e7f84e264663c24888d68c78
treeb7411d788b1dc89fc5cce58d610df66db03df272
parent8c8b2a89f9173aaa06e91ff43c3a46276f23b355
Don't use a random type for the select condition,
use an MVT::i1 and simplify the code while there.

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