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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment