aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorPierre van Houtryve <pierre.vanhoutryve@amd.com>2025-10-20 12:03:47 +0200
committerGitHub <noreply@github.com>2025-10-20 12:03:47 +0200
commitc1852afa4b1ebb17f101b9105d36ace700981dac (patch)
treea7a4594bb4b9a8b7f6643a69c9fc56ff439aa8fa /clang/unittests/Format/FormatTestJava.cpp
parent96688d4b3c6cc35777e7293fa61e3fa7caa960d2 (diff)
downloadllvm-c1852afa4b1ebb17f101b9105d36ace700981dac.zip
llvm-c1852afa4b1ebb17f101b9105d36ace700981dac.tar.gz
llvm-c1852afa4b1ebb17f101b9105d36ace700981dac.tar.bz2
[AMDGPU][SIMemoryLegalizer][GFX12] Correctly insert sample/bvhcnt (#161637)
The check used was not strong enough to prevent the insertion of sample/bvhcnt when they were not needed. I assume SIInsertWaitCnts was trimming those away anyway, but this was a bug nonetheless. We were inserting SAMPLE/BVHcnt waits in places where we only needed to wait on the previous atomic operation. Neither of these counter have any atomics associated with them.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions