Chris Lattner 5ae7911b24 Turn (X^C1) == C2 into X == C1^C2 iff X&~C1 = 0 (and move a function)
This happens all the time on PPC for bool values, e.g. eliminating a xori
in inverted-bool-compares.ll.

This should be added to the dag combiner as well.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23403 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-23 00:55:52 +00:00
..
2005-04-21 22:36:52 +00:00
2005-04-21 22:36:52 +00:00
2005-04-21 22:36:52 +00:00
2005-04-22 04:01:18 +00:00
2005-04-21 22:36:52 +00:00