commit | b4afe9c79f517a3c5f06ccf809cff61d0d7f53a9 | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Wed Apr 19 20:19:58 2017 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Wed Apr 19 20:19:58 2017 +0000 |
tree | 32ec2cdd510917928c578f834712cc6358faabf9 | |
parent | fd134f768b3f379f3ce62540cf388a630faecca0 [diff] |
[SCEV] Make SCEV or modeling more aggressive. Use haveNoCommonBitsSet to figure out whether an "or" instruction is equivalent to addition. This handles more cases than just checking for a constant on the RHS. Differential Revision: https://reviews.llvm.org/D32239 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300746 91177308-0d34-0410-b5e6-96231b3b80d8