[all-commits] [llvm/llvm-project] a07ace: [AMDGPU][NFC] Extract GCNDownwardRPTracker::retire...

Dhruva Chakrabarti via All-commits all-commits at lists.llvm.org
Fri Oct 2 16:46:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a07ace6151f5a76944379951a51bc395d17acfd5
      https://github.com/llvm/llvm-project/commit/a07ace6151f5a76944379951a51bc395d17acfd5
  Author: Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
    M llvm/lib/Target/AMDGPU/GCNRegPressure.h

  Log Message:
  -----------
  [AMDGPU][NFC] Extract GCNDownwardRPTracker::retireVirtReg (#228289)

Pull the per-register retirement logic out of advanceBeforeNext() into a
helper. The operand reference is replaced by the register argument.

A follow-up change needs to retire dying uses and dead defs at different
points in the walk, which requires this logic to be callable from more
than one place.

https://github.com/llvm/llvm-project/pull/228294 depends on this patch.

Assisted-by: Cursor/Claude Opus



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list