diff options
author | Petar Avramovic <Petar.Avramovic@amd.com> | 2025-09-18 14:41:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-18 14:41:01 +0200 |
commit | 2ec7959b96ecc85fef3dcb50bab54b9f76f603d4 (patch) | |
tree | 6866ffe61802615b8988757354381f92b15693d2 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8dae17be2991cd7f0d7fd9aa5aecd064520a14f6 (diff) | |
download | llvm-2ec7959b96ecc85fef3dcb50bab54b9f76f603d4.zip llvm-2ec7959b96ecc85fef3dcb50bab54b9f76f603d4.tar.gz llvm-2ec7959b96ecc85fef3dcb50bab54b9f76f603d4.tar.bz2 |
[AMDGPU][SIInsertWaitcnts] Track SCC. Insert KM_CNT waits for SCC writes. (#157843)
Add new event SCC_WRITE for s_barrier_signal_isfirst and s_barrier_leave,
instructions that write to SCC, counter is KM_CNT.
Also start tracking SCC for reads and writes.
s_barrier_wait on the same barrier guarantees that the SCC write from
s_barrier_signal_isfirst has landed, no need to insert s_wait_kmcnt.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions