diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-05-17 06:26:29 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-05-17 06:26:29 +0000 |
commit | 02ae8b78ff311144bc915a96889db66f46eca208 (patch) | |
tree | b89435358672fa092e1c7a1d3c02fae999037bd2 /lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 2f6ba65f0219afca03ea6b9b66634a177996452b (diff) |
For lshr by 0 bits, just return *this as a short cut. This also prevents
undefined behavior when the width > 64 bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions