[PATCH] D25347: [VirtRegRewriter] Eliminate COPYs before re-writing by renaming.
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 14:37:26 PDT 2016
gberry created this revision.
gberry added reviewers: MatzeB, qcolombet.
gberry added subscribers: jonpa, mcrosier, junbuml, llvm-commits.
This adds a simple copy propagation pass to VirtRegRewriter that uses
LiveIntervals to find COPYs whose destination can be renamed allowing
the COPY to be eliminated when doing so would be beneficial.
https://reviews.llvm.org/D25347
Files:
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/AArch64/machine_cse_impdef_killflags.ll
test/CodeGen/X86/ipra-local-linkage.ll
test/CodeGen/X86/mul-i1024.ll
test/CodeGen/X86/mul-i512.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25347.73853.patch
Type: text/x-patch
Size: 19606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161006/bdefbb40/attachment-0001.bin>
More information about the llvm-commits
mailing list