[all-commits] [llvm/llvm-project] a6382d: AMDGPU: Refactor mfma hazard handling [NFC] (#84276)

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Mar 7 01:10:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6382de3999280ef7bf8bb63750686cdad889cd5
      https://github.com/llvm/llvm-project/commit/a6382de3999280ef7bf8bb63750686cdad889cd5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

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

  Log Message:
  -----------
  AMDGPU: Refactor mfma hazard handling [NFC] (#84276)

Try to make this editable by using functions for the number of wait
states as a function of the number of passes. I'm assuming the current
hazard test coverage is comprehensive.

This could probably use another round to further simplify it.
Alternatively, I believe this could all be expressed in a constant table
indexed by an instruction classify function and number of passes.



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