diff options
author | Tanya Lattner <tonic@nondot.org> | 2009-02-17 19:01:36 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2009-02-17 19:01:36 +0000 |
commit | 9114c43bee82b9992fe1fcb12d58a8b2e3a474b6 (patch) | |
tree | 356b45ada1425751b18417903103a7164fe83439 /lib/CodeGen/MachineFunction.cpp | |
parent | 606531328717459521c87b6ac091720c1e763365 (diff) |
Merge 64314 from mainline.
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_25@64782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions