[all-commits] [llvm/llvm-project] 8b4b5c: [AMDGPU][SIInsertWaitCnts] skip meta instructions ...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Mon Jun 30 08:40:16 PDT 2025
Branch: refs/heads/users/ssahasra/waitcnt-cleanup
Home: https://github.com/llvm/llvm-project
Commit: 8b4b5cdd1bc5aef84b2661edb7df653c4a415fa8
https://github.com/llvm/llvm-project/commit/8b4b5cdd1bc5aef84b2661edb7df653c4a415fa8
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Log Message:
-----------
[AMDGPU][SIInsertWaitCnts] skip meta instructions early
When iterating over a block, meta instructions have no effect on wait counts,
but their presence drops the reference to earlier waitcnt instructions before
they are processed. This results in spurious wait counts, which do not affect
correctness, but are also not required in the resulting program. Skipping meta
instructions as soon as they are seen cleans this up.
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