aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.h
diff options
context:
space:
mode:
authorMarcello Maggioni <hayarms@gmail.com>2019-04-07 06:12:44 +0000
committerMarcello Maggioni <hayarms@gmail.com>2019-04-07 06:12:44 +0000
commit30eb5758112a7f972d4ffea4ed0aa5f1c2732b40 (patch)
treee4f923b30450506d856638fc42247906e4f7388e /llvm/tools/llvm-objdump/llvm-objdump.h
parent545ed223a65513475203f81f267bf1656b8f4e04 (diff)
downloadllvm-30eb5758112a7f972d4ffea4ed0aa5f1c2732b40.zip
llvm-30eb5758112a7f972d4ffea4ed0aa5f1c2732b40.tar.gz
llvm-30eb5758112a7f972d4ffea4ed0aa5f1c2732b40.tar.bz2
[ConstantRange] Shl considers full-set shifting to last bit position.
if we do SHL of two 16-bit ranges like [0, 30000) with [1,2) we get "full-set" instead of what I would have expected [0, 60000) which is still in the 16-bit unsigned range. This patch changes the SHL algorithm to allow getting a usable range even in this case. Differential Revision: https://reviews.llvm.org/D57983 llvm-svn: 357854
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.h')
0 files changed, 0 insertions, 0 deletions