Eliminate some redundant stores of registers to the stack in generating asm.