diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2025-07-24 12:41:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-24 12:41:57 +0200 |
commit | cd1b84caa852bb3f5469ab3da93ccb9dfafa7089 (patch) | |
tree | 533941bac0deb8bf3fe70080abd9517f2206fa10 /llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp | |
parent | 1a32bcb4379fb90d2b764ac33b917de1431c6b16 (diff) | |
download | llvm-cd1b84caa852bb3f5469ab3da93ccb9dfafa7089.zip llvm-cd1b84caa852bb3f5469ab3da93ccb9dfafa7089.tar.gz llvm-cd1b84caa852bb3f5469ab3da93ccb9dfafa7089.tar.bz2 |
[NFC][AMDGPU] Rename "amdgpu-as" to "amdgpu-synchronize-as" (#148627)
"amdgpu-as" is way too vague and doesn't give enough context.
We may want to support it on normal atomics too, to control the synchronized (ordered) AS.
If we do that, the name has to be less vague.
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp b/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp index 3212060..123fbfe 100644 --- a/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp +++ b/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp @@ -704,12 +704,12 @@ void diagnoseUnknownMMRAASName(const MachineInstr &MI, StringRef AS) { DiagnosticInfoUnsupported(Fn, Str.str(), MI.getDebugLoc(), DS_Warning)); } -/// Reads \p MI's MMRAs to parse the "amdgpu-as" MMRA. +/// Reads \p MI's MMRAs to parse the "amdgpu-synchronize-as" MMRA. /// If this tag isn't present, or if it has no meaningful values, returns \p /// Default. Otherwise returns all the address spaces concerned by the MMRA. static SIAtomicAddrSpace getFenceAddrSpaceMMRA(const MachineInstr &MI, SIAtomicAddrSpace Default) { - static constexpr StringLiteral FenceASPrefix = "amdgpu-as"; + static constexpr StringLiteral FenceASPrefix = "amdgpu-synchronize-as"; auto MMRA = MMRAMetadata(MI.getMMRAMetadata()); if (!MMRA) |