Instrument expr only when doing shift or division.