Skip to content
Commit 9763859e authored by Chris Lattner's avatar Chris Lattner
Browse files

Remove explicit check for: not (not X) = X, it is already handled because xor is commutative

  - InstCombine: (X & C1) ^ C2 --> (X & C1) | C2 iff (C1&C2) == 0
  - InstCombine: (X | C1) ^ C2 --> (X | C1) & ~C2 iff (C1&C2) == C2

llvm-svn: 7282
parent 2326ef64
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