Skip to content
Commit da37e153 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

InstCombine: If we have a bit test and a sign test anded/ored together, merge...

InstCombine: If we have a bit test and a sign test anded/ored together, merge the sign bit into the bit test.

This is common in bit field code, e.g. checking if the first or the last bit of a bit field is set.

llvm-svn: 147749
parent 540651cf
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