Added emulation of shifts to the IR interpreter.

<rdar://problem/12978619>