summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2025-07-01 22:02:48 +0530
committerGitHub <noreply@github.com>2025-07-01 22:02:48 +0530
commita34a02481246482a490c320afb7375ec24cb634e (patch)
tree133b94f0b3de04043535880cda9903f598255f57 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent13e6ea7b4c29a0d574a084a59c688c2731369b4b (diff)
[AMDGPU][SIInsertWaitCnts] skip meta instructions early (#145720)
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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions