aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-02 21:35:40 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-04 11:03:00 +0200
commit3b671022e4518166fc5a72e88786db037fb7708c (patch)
treebb0583dc4255afebe7d2ef1cf8272d8760a2e1b7 /clang/lib/Frontend/CompilerInvocation.cpp
parent93ccb8eb52f7e7474afaa782fcc6c52bd8c1494b (diff)
downloadllvm-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