diff options
| author | Eli Friedman <efriedma@codeaurora.org> | 2017-04-19 20:19:58 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@codeaurora.org> | 2017-04-19 20:19:58 +0000 |
| commit | e77d2b86b478872128ab31d8296840161068fd26 (patch) | |
| tree | 1daf3770d58af05d7a7d722c292c8b0600876208 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
| parent | b45905c5a9b4c17637e951f52a5caaf535cbdc53 (diff) | |
| download | bcm5719-llvm-e77d2b86b478872128ab31d8296840161068fd26.tar.gz bcm5719-llvm-e77d2b86b478872128ab31d8296840161068fd26.zip | |
[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
llvm-svn: 300746
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions

