[BitcodeReader] Ensure we can read constant vector selects with an i1 condition
authorFilipe Cabecinhas <me@filcab.net>
Mon, 31 Aug 2015 18:00:30 +0000 (18:00 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Mon, 31 Aug 2015 18:00:30 +0000 (18:00 +0000)
commit357ece440765ea99109f6db56dfdfee5d0dd5843
treeb4d90b5d07c5eb0b018cd49d16247119d5ac9d06
parent1318d71a755481fc0d43be15a4611db96263896d
[BitcodeReader] Ensure we can read constant vector selects with an i1 condition

Summary:
Constant vectors weren't allowed to have an i1 condition in the
BitcodeReader. Make sure we have the same restrictions that are
documented, not more.

Reviewers: nlewycky, rafael, kschimpf

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D12440

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
test/Bitcode/select.ll