[PATCH] Enhance machine CSE to capture more opportunities
Jiangning Liu
liujiangning1 at gmail.com
Wed Jul 30 20:02:49 PDT 2014
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
http://reviews.llvm.org/D4736
Files:
lib/CodeGen/MachineCSE.cpp
test/CodeGen/AArch64/machine_cse.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4736.12053.patch
Type: text/x-patch
Size: 4113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140731/be714e4e/attachment.bin>
More information about the llvm-commits
mailing list