[llvm-branch-commits] [llvm] [AMDGPU] Add stalls for DS FIFO buffer (PR #192323)
Lucas Ramirez via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 21 08:49:44 PDT 2026
================
@@ -172,6 +177,11 @@ class HardwareUnitInfo {
/// / MFMA instructions may take multiple cycles, which may be overlapped with
/// instructions on other HardwareUnits.
bool ProducesCoexecWindow = false;
+ /// How many instructions can be held simultaneously for this HardwareUnit.
+ /// A value of 0 or 1 means that there is no buffer.
+ unsigned BufferSize = 0;
+ /// How many cycles it takes for an instruction to clear the buffer.
----------------
lucas-rami wrote:
Can you mention here that this is an average/estimation and not a hardware property?
https://github.com/llvm/llvm-project/pull/192323
More information about the llvm-branch-commits
mailing list