optimize legalization of lshr 32