[all-commits] [llvm/llvm-project] d4274f: LiveIntervals: Fix handleMoveUp with subreg def mo...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Oct 18 16:23:07 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d4274f0174ff152490195fa2a65e4087deae3dd4
      https://github.com/llvm/llvm-project/commit/d4274f0174ff152490195fa2a65e4087deae3dd4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M llvm/lib/CodeGen/LiveIntervals.cpp
    A llvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
    M llvm/unittests/MI/LiveIntervalTest.cpp

  Log Message:
  -----------
  LiveIntervals: Fix handleMoveUp with subreg def moving across a def

If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point
of the moved interval ended too early and missed the use from theh
other lanes in the subreg def.

llvm-svn: 375300




More information about the All-commits mailing list