[all-commits] [llvm/llvm-project] 225504: [AMDGPU][NFC] Extract the MFMA read-window calcula...

Michael Halkenhäuser via All-commits all-commits at lists.llvm.org
Wed Sep 30 08:05:53 PDT 2026


  Branch: refs/heads/users/mhalk/fix/amdgpu-mfma-hazard-nfc-prep
  Home:   https://github.com/llvm/llvm-project
  Commit: 2255048a3f112cd2db387bfb211af1395d079791
      https://github.com/llvm/llvm-project/commit/2255048a3f112cd2db387bfb211af1395d079791
  Author: Michael Halkenhaeuser <MichaelGerald.Halkenhauser at amd.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

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

  Log Message:
  -----------
  [AMDGPU][NFC] Extract the MFMA read-window calculation

Move the wait states a consumer needs before reading an MFMA result out
of checkMAIHazards90A into getMFMAReadWaitStates, taking the producer as
an argument, so a caller can ask about a specific producer. The caller
passes the producer the walk recorded, so nothing changes.

AI-assisted.


  Commit: 48d0bd3357c5e1e7b5d6aa82eafbf9adb9f77be9
      https://github.com/llvm/llvm-project/commit/48d0bd3357c5e1e7b5d6aa82eafbf9adb9f77be9
  Author: Michael Halkenhaeuser <MichaelGerald.Halkenhauser at amd.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

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

  Log Message:
  -----------
  [AMDGPU][NFC] Avoid duplicate MAI hazard checks

PreEmitNoopsCommon called checkMAIVALUHazards twice whenever padding was
required.

AI-assisted.


Compare: https://github.com/llvm/llvm-project/compare/8e204a1bd149...48d0bd3357c5

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