[PATCH] D13123: PeepholeOptimizer: Remove redundant copies
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 19:00:12 PDT 2015
arsenm created this revision.
arsenm added a reviewer: qcolombet.
arsenm added a subscriber: llvm-commits.
If a virtual register is copied and another copy was already
seen, replace with the previous copy.
This pattern shows up from various operand restrictions
AMDGPU has which require inserting copies depending
on the register class of the operands.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8396 bytes
Desc: not available
More information about the llvm-commits