Chris Lattner fe8af82cd4 Teach codegen to handle:
(X != null) | (Y != null) --> (X|Y) != 0
 (X == null) & (Y == null) --> (X|Y) == 0

so that instcombine can stop doing this for pointers.  This is part of PR3351,
which is a case where instcombine doing this for pointers (inserting ptrtoint)
is pessimizing code.

llvm-svn: 92406
2010-01-02 00:00:03 +00:00
..
2009-12-30 06:00:36 +00:00
2010-01-02 00:00:03 +00:00
2009-11-06 10:58:06 +00:00
2009-12-31 08:23:09 +00:00