diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-02 15:34:43 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-02 15:34:43 +0000 |
commit | 8979e5f3725c05bd7120890e39399213fd08f83e (patch) | |
tree | 8fd22ad3d8f049fb32881a8103e5707c037c0dce /autoconf | |
parent | 0c7374d87e6bf002028cd19f8ae9547927c9c645 (diff) | |
download | external_llvm-8979e5f3725c05bd7120890e39399213fd08f83e.zip external_llvm-8979e5f3725c05bd7120890e39399213fd08f83e.tar.gz external_llvm-8979e5f3725c05bd7120890e39399213fd08f83e.tar.bz2 |
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 'autoconf')
0 files changed, 0 insertions, 0 deletions