Hi,
Attached patch of fixing machine CSE changes TrivialCopyCoalescing to TrivialCopyPropagation, and essentially the change allows multi-users of a COPY machine instruction to propagate the source register. This way we would be able to catch more common subexpressions opportunities.
This patch has very good performance impact to a couple of spec benchmarks.
Thanks,
-Jiangning
of COPY -> of a COPY