Skip to content
Commit 8f0d1560 authored by Chris Lattner's avatar Chris Lattner
Browse files

IC: (X & C1) | C2 --> (X | C2) & (C1|C2)

IC: (X ^ C1) | C2 --> (X | C2) ^ (C1&~C2)

We are now guaranteed that all 'or's will be inside of 'and's, and all 'and's
will be inside of 'xor's, if the second operands are constants.

llvm-svn: 7264
parent d5663230
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment