aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode/BitCodes.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-02 15:34:43 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-02 15:34:43 +0000
commit8979e5f3725c05bd7120890e39399213fd08f83e (patch)
tree8fd22ad3d8f049fb32881a8103e5707c037c0dce /include/llvm/Bitcode/BitCodes.h
parent0c7374d87e6bf002028cd19f8ae9547927c9c645 (diff)
LVI: Recognize the form instcombine canonicalizes range checks into when forming constant ranges.
This could probably be made a lot smarter, but this is a common case and doesn't require LVI to scan a lot of code. With this change CVP can optimize away the "shift == 0" case in Hashing.h that only gets hit when "shift" is in a range not containing 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/BitCodes.h')
0 files changed, 0 insertions, 0 deletions