[all-commits] [llvm/llvm-project] 1bc63a: [AMDGPU] Fix duplicate s_wait_asynccnt on gfx12-plus
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Tue Apr 7 21:24:21 PDT 2026
Branch: refs/heads/users/ssahasra/fix-async-dupe
Home: https://github.com/llvm/llvm-project
Commit: 1bc63af63891c5b8ab365f426b76e59fe3452f11
https://github.com/llvm/llvm-project/commit/1bc63af63891c5b8ab365f426b76e59fe3452f11
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2026-04-07 (Tue, 07 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
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