Patch provide by Tom Roeder!
authorJoe Abbey <jabbey@arxan.com>
Thu, 12 Sep 2013 22:02:31 +0000 (22:02 +0000)
committerJoe Abbey <jabbey@arxan.com>
Thu, 12 Sep 2013 22:02:31 +0000 (22:02 +0000)
commit405b6503b3568cfb4da9d1347e3f5640583429c9
treeaf085224929db49071eec6b3016d15009e4462bd
parente7262388ed59b3ffcd5463884a4dda574e6d4c0d
Patch provide by Tom Roeder!

Reviewed by Joe Abbey and Tobias Grosser

Here is a patch that fixes decoding of CE_SELECT in BitcodeReader,
along with a simple test case. The problem in the current code is that
it generates but doesn't accept bitcode that uses vectors for the
first element of a select in this context.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190634 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
test/Bitcode/select.ll [new file with mode: 0644]