We can always convert xor %a, -1 into MVN, even in thumb 1 where the -1
would not otherwise be considered a cheap constant. This prevents the
-1's from being pulled out into constants and potentially hoisted.
The loop_2 tests are the only ones that change here.
getSExtValue() will crash if Imm doesn't fit into an int64_t. Maybe use isAllOnesValue()?