Skip to content
Commit eddf7712 authored by Dan Gohman's avatar Dan Gohman
Browse files

Teach ScalarEvolution how to recognize another xor(and(x, C), C) case.

If C is a single bit and the and gets analyzed as a truncate and
zero-extend, the xor can be represnted as an add.

llvm-svn: 73664
parent 4d8723d4
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