sync with InstCombineAndOrXor.cpp
Add isShiftedMask() predicate