aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2022-01-25 13:21:37 +0700
committerMax Kazantsev <mkazantsev@azul.com>2022-01-25 13:25:19 +0700
commitc913dccfde69617e2357ac25532f25d2a81bca2c (patch)
treec0e6387cbe62753c8d625f1bd22f89786d8537b3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent633f5badbf1315e972e9abb141111648a8fd77fd (diff)
downloadllvm-c913dccfde69617e2357ac25532f25d2a81bca2c.zip
llvm-c913dccfde69617e2357ac25532f25d2a81bca2c.tar.gz
llvm-c913dccfde69617e2357ac25532f25d2a81bca2c.tar.bz2
[SCEV] Use lshr in implications
This patch adds support for implication inference logic for the following pattern: ``` lhs < (y >> z) <= y, y <= rhs --> lhs < rhs ``` We should be able to use the fact that value shifted to right is not greater than the original value (provided it is non-negative). Differential Revision: https://reviews.llvm.org/D116150 Reviewed-By: apilipenko
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions