]> granicus.if.org Git - llvm/commit
Bitcode: Fix short read implementation.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 2 Nov 2016 02:58:47 +0000 (02:58 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 2 Nov 2016 02:58:47 +0000 (02:58 +0000)
commit7cfe6227d35d228e273d3686b93e6c3fd96015eb
tree21fc8374099f05695bdb75fd2224653bf1614c45
parentc17dedb2b8f19f3ee7eeacd56e7b57529e6a27bf
Bitcode: Fix short read implementation.

We need to zero extend the byte in order to correctly shift it into a
64-bit value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285785 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h
unittests/Bitcode/BitstreamReaderTest.cpp