[all-commits] [llvm/llvm-project] 188df1: ScheduleDAGInstrs: Skip debug instructions at end ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 22 07:17:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 188df1742042610a4c9af1fff9943d3d2a2740c6
      https://github.com/llvm/llvm-project/commit/188df1742042610a4c9af1fff9943d3d2a2740c6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
    A llvm/test/CodeGen/AMDGPU/dbg-value-ends-sched-region.mir

  Log Message:
  -----------
  ScheduleDAGInstrs: Skip debug instructions at end of scheduling region

If the end instruction of the scheduling region was a DBG_VALUE, the
uses of the debug instruction were tracked as if they were real
uses. This would then hit the deadDefHasNoUse assertion in
addVRegDefDeps if the only use was the debug instruction.




More information about the All-commits mailing list