Dale Johannesen 85b0edec46 Make a transformation added in 63266 a bit less aggressive.
It was transforming (x&y)==y to (x&y)!=0 in the case where
y is variable and known to have at most one bit set (e.g. z&1).
This is not correct; the expressions are not equivalent when y==0.
I believe this patch salvages what can be salvaged, including
all the cases in bt.ll.  Dan, please review.
Fixes gcc.c-torture/execute/20040709-[12].c



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64314 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-11 19:19:41 +00:00
..
2008-12-19 10:55:56 +00:00
2008-11-27 00:37:06 +00:00
2009-02-09 23:32:07 +00:00
2008-10-24 21:20:25 +00:00
2009-02-04 21:10:56 +00:00
2009-01-21 21:28:03 +00:00
2009-01-20 19:29:54 +00:00
2009-01-15 20:18:42 +00:00
2009-01-07 01:48:08 +00:00