When generating code for a shift loop, check the shift amount against the literal value 0, not R0 llvm-svn: 304284
This lets us do bit rotations of variable amount. llvm-svn: 301794