aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-10-25 11:09:35 -0400
committerSanjay Patel <spatel@rotateright.com>2020-10-25 11:13:30 -0400
commite77ba263fe0eaa41a973583fc82089721c881593 (patch)
tree837801b9782262d7ce8bd22dcb7fe899eb0b12f7 /clang/lib/CodeGen/CodeGenFunction.cpp
parent7de2add8296fb26fd49106173c9f140ebd0abedc (diff)
downloadllvm-e77ba263fe0eaa41a973583fc82089721c881593.zip
llvm-e77ba263fe0eaa41a973583fc82089721c881593.tar.gz
llvm-e77ba263fe0eaa41a973583fc82089721c881593.tar.bz2
[InstSimplify] peek through 'not' operand in logic-of-icmps fold
This extends D78430 to solve cases like: https://llvm.org/PR47858 There are still missed opportunities shown in the tests, and as noted in the earlier patches, we have related functionality in InstCombine, so we may want to extend other folds in a similar way. A semi-random sampling of test diff proofs in this patch: https://rise4fun.com/Alive/sS4C
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions