Avoid undefined behavior by masking the shift amount.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 17 Nov 2014 17:43:27 +0000 (17:43 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 17 Nov 2014 17:43:27 +0000 (17:43 +0000)
commitf70c673db75b71756251e5647e7714ecd345340c
treef07ae795ba98a604b01439f094abe13e5fc5fc45
parentb23eb5e3f7c43c40fe7e5ede5484285becd2f14e
Avoid undefined behavior by masking the shift amount.

Should hopefully fix the mips bots.

llvm-svn: 222146
llvm/include/llvm/Bitcode/BitstreamReader.h