[PATCH] D149332: [AMDGPU] Also consider global and scratch instructions when flushing vmcnt counter in loop preheader
Ronak Chauhan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 29 00:33:31 PDT 2023
rochauha updated this revision to Diff 518137.
rochauha added a comment.
- using SIInstrInfo::isFLAT(MI) && mayAccessVMEMThroughFlat(MI)
- updated waitcnt-vmcnt-loop.mir with 2 tests -- 1 for global and 1 for flat memory instructions
- updated tests affected by considering flat memory instructions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149332/new/
https://reviews.llvm.org/D149332
Files:
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll
llvm/test/CodeGen/AMDGPU/atomicrmw-expand.ll
llvm/test/CodeGen/AMDGPU/atomicrmw-nand.ll
llvm/test/CodeGen/AMDGPU/flat_atomics_i64_min_max_system.ll
llvm/test/CodeGen/AMDGPU/flat_atomics_min_max_system.ll
llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
llvm/test/CodeGen/AMDGPU/global-load-saddr-to-vaddr.ll
llvm/test/CodeGen/AMDGPU/global-saddr-atomics-min-max-system.ll
llvm/test/CodeGen/AMDGPU/waitcnt-vmcnt-loop.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149332.518137.patch
Type: text/x-patch
Size: 143712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230429/c39868ed/attachment-0001.bin>
More information about the llvm-commits
mailing list