Skip to content
Commit c44160ce authored by Chris Lattner's avatar Chris Lattner
Browse files

Teach masked value is zero about add and sub, and use MVIZ to

simplify things like (X & 4) >> 1 == 2  --> (X & 4) == 4.

since it is obvious that the shift doesn't remove any bits.

llvm-svn: 48631
parent 92b44882
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment