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

InstCombine: fold (A >> C) == (B >> C) --> (A^B) < (1 << C) for constant Cs.

This is common in bitfield code.

llvm-svn: 194925
parent 38fc2e7a
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