[PATCH] D88020: [SplitKit] In addDeadDef tolerate parent range that defines more lanes

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 05:14:45 PDT 2020


foad created this revision.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, nhaehnle, jvesely.
Herald added a project: LLVM.
foad requested review of this revision.

Following on from D87757 <https://reviews.llvm.org/D87757> "[SplitKit] Only copy live lanes", in
SplitEditor::addDeadDef, when we're checking whether the parent live
interval has a subrange defining the same lanes, tolerate the case
where the parent subrange defines a superset of the lanes. This can
happen when the child subrange comes from SplitEditor::buildCopy
decomposing a partial copy into a sequence of subreg copies that cover
the required lanes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88020

Files:
  llvm/lib/CodeGen/SplitKit.cpp
  llvm/lib/CodeGen/SplitKit.h
  llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88020.293145.patch
Type: text/x-patch
Size: 72698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200921/21c618fe/attachment-0001.bin>


More information about the llvm-commits mailing list