aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-05-17 06:26:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-05-17 06:26:29 +0000
commitfffdf105669c629333ce928bbf055cdf0815d1c8 (patch)
treeba4b461b08c056714e16ec3162730e623e0fcc9e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2648effb23292ac493181ba64dae8241d6da88e2 (diff)
downloadllvm-fffdf105669c629333ce928bbf055cdf0815d1c8.zip
llvm-fffdf105669c629333ce928bbf055cdf0815d1c8.tar.gz
llvm-fffdf105669c629333ce928bbf055cdf0815d1c8.tar.bz2
For lshr by 0 bits, just return *this as a short cut. This also prevents
undefined behavior when the width > 64 bits. llvm-svn: 37153
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions