[PATCH] D39536: [PowerPC] Eliminate redundant register copys after register allocation

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 07:22:04 PST 2017


inouehrs updated this revision to Diff 122646.
inouehrs added a comment.

- rewrote without using kill flags as @gberry suggested.
- slightly increased coverage to support opportunity addressed by https://reviews.llvm.org/D39785.
- refactored to reduce duplicated code.


https://reviews.llvm.org/D39536

Files:
  lib/Target/PowerPC/CMakeLists.txt
  lib/Target/PowerPC/PPC.h
  lib/Target/PowerPC/PPCRegCopyElim.cpp
  lib/Target/PowerPC/PPCTargetMachine.cpp
  test/CodeGen/PowerPC/ppc64-byval-align.ll
  test/CodeGen/PowerPC/redundant_regcopy.ll
  test/CodeGen/PowerPC/redundant_regcopy_1.mir
  test/CodeGen/PowerPC/redundant_regcopy_2.mir
  test/CodeGen/PowerPC/remove-cyclic-mr.ll
  test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39536.122646.patch
Type: text/x-patch
Size: 28277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171113/5ed25a71/attachment.bin>


More information about the llvm-commits mailing list