[all-commits] [llvm/llvm-project] b34ddf: [SplitKit] In addDeadDef tolerate parent range tha...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Sep 25 03:32:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b34ddfcc76e39cdad62887f648aec46c8434c648
      https://github.com/llvm/llvm-project/commit/b34ddfcc76e39cdad62887f648aec46c8434c648
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/SplitKit.cpp
    M llvm/lib/CodeGen/SplitKit.h
    A llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll

  Log Message:
  -----------
  [SplitKit] In addDeadDef tolerate parent range that defines more lanes

Following on from 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.

Differential Revision: https://reviews.llvm.org/D88020




More information about the All-commits mailing list