diff options
author | Changpeng Fang <changpeng.fang@amd.com> | 2024-03-19 09:58:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 09:58:09 -0700 |
commit | ab76052fa9331f418d7911cafefabd4dd0c1941e (patch) | |
tree | 3e27b08c81e346152903c79cbb2e67b7b10cf44a /llvm/lib | |
parent | 9ed1aa36be654f6687c4f9000c973b722217881c (diff) | |
download | llvm-ab76052fa9331f418d7911cafefabd4dd0c1941e.zip llvm-ab76052fa9331f418d7911cafefabd4dd0c1941e.tar.gz llvm-ab76052fa9331f418d7911cafefabd4dd0c1941e.tar.bz2 |
AMDGPU: Treat SWMMAC the same as MFMA and other WMMA for sched_barrier (#85721)
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIInstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h index a62bf77..4c5978c 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h @@ -815,7 +815,7 @@ public: } static bool isMFMAorWMMA(const MachineInstr &MI) { - return isMFMA(MI) || isWMMA(MI); + return isMFMA(MI) || isWMMA(MI) || isSWMMAC(MI); } static bool isSWMMAC(const MachineInstr &MI) { |