aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-09-03 08:57:00 -0400
committerSanjay Patel <spatel@rotateright.com>2022-09-03 09:32:08 -0400
commit5c759edc57d61bf4713f7e9dbb490c7e0328136d (patch)
tree7482ca7c4fd24496863f22b05edfff3eefc9601e /clang/lib/CodeGen/CodeGenFunction.cpp
parentfbfac8e3884bd6b3c36b248e93dbc3096007e606 (diff)
downloadllvm-5c759edc57d61bf4713f7e9dbb490c7e0328136d.zip
llvm-5c759edc57d61bf4713f7e9dbb490c7e0328136d.tar.gz
llvm-5c759edc57d61bf4713f7e9dbb490c7e0328136d.tar.bz2
[InstCombine] reduce another or-xor bitwise logic pattern
~(A & ?) | (A ^ B) --> ~((A & ?) & B) https://alive2.llvm.org/ce/z/mxex6V This is similar to 9d218b61cc50 where we peeked through another logic op to find a common operand.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions