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

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 00:53:11 PST 2018


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

- check the reserved register using `getReservedRegs` instead of own check.
- rebased to the latest 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/redundant_regcopy.ll
  test/CodeGen/PowerPC/redundant_regcopy_1.mir
  test/CodeGen/PowerPC/redundant_regcopy_2.mir
  test/CodeGen/PowerPC/remove-cyclic-mr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39536.133166.patch
Type: text/x-patch
Size: 27246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/6468f7f4/attachment.bin>


More information about the llvm-commits mailing list