[PATCH] D143742: [VirtRegMap] Further optimize emitting KILL for copy

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 08:04:09 PST 2023


cdevadas created this revision.
Herald added subscribers: kosarev, kerbowa, hiraditya, jvesely.
Herald added a project: All.
cdevadas requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Do not emit KILL when the identical register copy
instruction has the implicit operands which are
only reserved registers as there is no liveness
info to be tracked for reserved registers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143742

Files:
  llvm/lib/CodeGen/VirtRegMap.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.softwqm.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
  llvm/test/CodeGen/AMDGPU/optimize-kill.mir
  llvm/test/CodeGen/AMDGPU/wqm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143742.496482.patch
Type: text/x-patch
Size: 17455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230210/c5d1d94b/attachment.bin>


More information about the llvm-commits mailing list