Chris Lattner 133ce871df 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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92406 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-02 00:00:03 +00:00
..
2009-12-28 01:47:48 +00:00
2009-12-28 01:48:56 +00:00
2009-12-28 01:00:12 +00:00
2009-12-18 23:32:53 +00:00
2010-01-01 23:37:34 +00:00