[all-commits] [llvm/llvm-project] 0f1718: [AMDGPU] Fix duplicate s_wait_asynccnt on gfx12-pl...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Tue Apr 7 21:04:19 PDT 2026
Branch: refs/heads/users/ssahasra/async-sed-hack
Home: https://github.com/llvm/llvm-project
Commit: 0f1718eaab32042948f5d660a3362db00f004514
https://github.com/llvm/llvm-project/commit/0f1718eaab32042948f5d660a3362db00f004514
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
M llvm/test/CodeGen/AMDGPU/asyncmark-gfx12plus.ll
Log Message:
-----------
[AMDGPU] Fix duplicate s_wait_asynccnt on gfx12-plus (#190777)
S_WAIT_ASYNCCNT was missing from counterTypeForInstr(), so isWaitInstr()
did not recognize it as a wait instruction. On the fixpoint algorithm's
second pass over a loop body, the already-inserted S_WAIT_ASYNCCNT was
treated as a normal instruction, causing WAIT_ASYNCMARK to be
re-processed and a duplicate S_WAIT_ASYNCCNT to be emitted.
Assisted-By: Claude Opus 4.6
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