Skip to content
Commit 5c759edc authored by Sanjay Patel's avatar Sanjay Patel
Browse files

[InstCombine] reduce another or-xor bitwise logic pattern

~(A & ?) | (A ^ B) --> ~((A & ?) & B)
https://alive2.llvm.org/ce/z/mxex6V

This is similar to 9d218b61 where we peeked through
another logic op to find a common operand.
parent fbfac8e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment