[PATCH] D87939: [PeepholeOptimizer] Enhance the redundant COPY elimination.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 13:25:17 PDT 2020


hliao created this revision.
hliao added reviewers: qcolombet, arsenm.
Herald added subscribers: llvm-commits, kerbowa, dmgreen, hiraditya, nhaehnle, jvesely.
Herald added a project: LLVM.
hliao requested review of this revision.
Herald added a subscriber: wdng.

- Eliminate redundant COPYs from the same register & subregister pair.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87939

Files:
  llvm/lib/CodeGen/PeepholeOptimizer.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i128.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
  llvm/test/CodeGen/AMDGPU/sgpr-copy-local-cse.ll
  llvm/test/CodeGen/AMDGPU/waitcnt-vscnt.ll
  llvm/test/CodeGen/Thumb2/mve-vcvt16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87939.292890.patch
Type: text/x-patch
Size: 101752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200918/8ddc26aa/attachment.bin>


More information about the llvm-commits mailing list