[all-commits] [llvm/llvm-project] e863ca: [AMDGPU] Model GFX1250 VALU blocking cycles (#222483)

hidekisaito via All-commits all-commits at lists.llvm.org
Thu Sep 17 10:53:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e863ca8c67b6ff40c342245738ed5c9eb7687b53
      https://github.com/llvm/llvm-project/commit/e863ca8c67b6ff40c342245738ed5c9eb7687b53
  Author: hidekisaito <hidekido at amd.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
    M llvm/lib/Target/AMDGPU/VOPCInstructions.td
    M llvm/lib/Target/AMDGPU/VOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/coexec-sched-flavor-classification.mir

  Log Message:
  -----------
  [AMDGPU] Model GFX1250 VALU blocking cycles (#222483)

Some gfx1250 VALU instructions block the VALU pipe for N cycles, and the
CoExec scheduler must model that occupancy. The existing SchedModel
cannot represent this given current modelling constraints (see #202775).

Attach GFX1250BlockingCycles to the VOP instruction definitions and emit
a searchable table so SIInstrInfo::getBlockingCycles() can report the
occupancy. CoExec uses that to classify multi-cycle VALU and to account
for blocking when computing HWUI cycles.

As part of this change, VOPC_Pseudo now inherits from VOP_Pseudo.

Main Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>



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