[llvm] [AMDGPU][InsertWaitCnts] Refactor some helper functions, NFC (PR #161160)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 30 06:42:04 PDT 2025
================
@@ -748,6 +754,18 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
return isLDSDMA(MI) && MI.getOpcode() != AMDGPU::BUFFER_STORE_LDS_DWORD;
}
+ static bool asynchronouslyWritesSCC(unsigned Opcode) {
----------------
jayfoad wrote:
> isSBarrierSCCWrite
The important property is that it's an SCC write tracked by KMcnt. But I think this is OK for now.
https://github.com/llvm/llvm-project/pull/161160
More information about the llvm-commits
mailing list