[llvm] [AMDGPU][SIInsertWaitcnts] Fix iota_range assertion when OtherMarks is empty in mergeAsyncMarks() (PR #193499)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 04:05:02 PDT 2026


================

----------------
xiaohuguo2023 wrote:

ah, good catch, I've rewritten it with two functions (asyncmark_in_then / asyncmark_in_else) that use a real BUFFER_LOAD_DWORD_OFFSET + ASYNCMARK on the async path and a consumer V_ADD_U32_e32 in the join block, so the generated S_WAITCNT can now be verified.

https://github.com/llvm/llvm-project/pull/193499


More information about the llvm-commits mailing list