diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-02 21:35:40 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-04 11:03:00 +0200 |
commit | 3b671022e4518166fc5a72e88786db037fb7708c (patch) | |
tree | bb0583dc4255afebe7d2ef1cf8272d8760a2e1b7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 93ccb8eb52f7e7474afaa782fcc6c52bd8c1494b (diff) | |
download | llvm-3b671022e4518166fc5a72e88786db037fb7708c.zip llvm-3b671022e4518166fc5a72e88786db037fb7708c.tar.gz llvm-3b671022e4518166fc5a72e88786db037fb7708c.tar.bz2 |
[InstSimplify] Simplify comparison between zext(x) and sext(x)
This is picking up a loose thread from D69006: We can simplify
(zext x) ule (sext x) and (zext x) sge (sext x) to true, with
various permutations. Oddly, SCEV knows about this identity,
but nothing on the IR level does.
Differential Revision: https://reviews.llvm.org/D83081
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions