[all-commits] [llvm/llvm-project] 98dd39: AMDGPU: Use removeAllRegUnitsForPhysReg()

Ruiling, Song via All-commits all-commits at lists.llvm.org
Mon Mar 14 19:28:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98dd390573dc0a350ce2aa79e31d57055700747d
      https://github.com/llvm/llvm-project/commit/98dd390573dc0a350ce2aa79e31d57055700747d
  Author: Ruiling Song <ruiling.song at amd.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp

  Log Message:
  -----------
  AMDGPU: Use removeAllRegUnitsForPhysReg()

I met the issue here when working on something else.
Actually we have already reserved EXEC, but it looks
like the register coalescer is causing the sub-register
of EXEC appears in LiveIntervals. I have not looked
deeper why register coalscer have such behavior, but
removeAllRegUnitsForPhysReg() is the right way.

Reviewed By: critson, foad, arsenm

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




More information about the All-commits mailing list