diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-09-03 08:57:00 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-09-03 09:32:08 -0400 |
commit | 5c759edc57d61bf4713f7e9dbb490c7e0328136d (patch) | |
tree | 7482ca7c4fd24496863f22b05edfff3eefc9601e /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | fbfac8e3884bd6b3c36b248e93dbc3096007e606 (diff) | |
download | llvm-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