ir: Implement more safety checks for shl/shr

The checks are now valid on types whose size is not a power of two.

Closes #2096
300fceac6eLemonBoy committed on 3/10/2020, 7:54:05 PMparent9c4dc7b
5 files changedLine totals unavailable