[all-commits] [llvm/llvm-project] a8252f: [AMDGPU] Model GFX1250 VALU blocking cycles

hidekisaito via All-commits all-commits at lists.llvm.org
Wed Sep 16 23:15:38 PDT 2026


  Branch: refs/heads/users/hidekisaito/getBlockingCycles
  Home:   https://github.com/llvm/llvm-project
  Commit: a8252f3f3ac2166aef1148db297d020156822942
      https://github.com/llvm/llvm-project/commit/a8252f3f3ac2166aef1148db297d020156822942
  Author: Hideki Saito <hidekido at amd.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
    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/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

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.

Authored by Jeffrey Byrnes <jeffrey.byrnes at amd.com>

Co-authored-by: Cursor <cursoragent at cursor.com>


  Commit: c36cc15be08f581bee324459de710858bb3b1f96
      https://github.com/llvm/llvm-project/commit/c36cc15be08f581bee324459de710858bb3b1f96
  Author: Hideki Saito <hidekido at amd.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    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] Cover missed gfx1250 VALU blocking-cycle opcodes

Annotate gfx12+ F64 add/mul and B64 shift pseudos, F64 class compares,
pseudo-scalar TRANS, integer dots, and DPP. Fix VOPC I64/U64 end-of-block
comments that said 32 instead of 2.


  Commit: bc93a52c4282beff4e587bb2973bcab70cda4faa
      https://github.com/llvm/llvm-project/commit/bc93a52c4282beff4e587bb2973bcab70cda4faa
  Author: Hideki Saito <hidekido at amd.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOPCInstructions.td
    M llvm/test/CodeGen/AMDGPU/coexec-sched-flavor-classification.mir

  Log Message:
  -----------
  [AMDGPU] Make VOPC_Pseudo inherit from VOP_Pseudo

GFX1250 blocking-cycle modeling misses _e32 VOPC_Pseudo because the
searchable table filters on VOP_Pseudo. Shrink can emit that encoding
before co-exec, so F64/I64/class compares were treated as 1-cycle VALU.

Side effect of this change is that _e32 VOPC_Pseudo records are also
included in the True16 and DP-MACC tables.


  Commit: b4873175560963dc191917f06646606300e946f1
      https://github.com/llvm/llvm-project/commit/b4873175560963dc191917f06646606300e946f1
  Author: Hideki Saito <hidekido at amd.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

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

  Log Message:
  -----------
  [AMDGPU] BlockingCycle feature gated with ST.hasGFX1250VALUBlockingCycles().


Compare: https://github.com/llvm/llvm-project/compare/cccc94adaa3a...b48731755609

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