[GlobalISel] Add combine for (x | mask) -> x when (x | mask) == x
If we have a mask, and a value x, where (x | mask) == x, we can drop the OR and just use x. Differential Revision: https://reviews.llvm.org/D90952
parent
fb36ab0a
Please register or sign in to comment