I am seeing redundant MOV instrs created by “Post-RA pseudo instruction expansion pass”,
I tried re-running MachineCSE after it, but according to the comments
In its source file it must be “run while the machine function is still in
SSA form”, and sure enough it generates bad code when run after RA
Is there another version of MachineCSE that works post-RA,
Perhaps in a version later than llvm-3.6.2 that I am using ?
–Peter Lawrence.