aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2025-07-17 14:18:52 -0700
committerGitHub <noreply@github.com>2025-07-17 14:18:52 -0700
commit422a250b0b8fce3e7ff20c400b5ab2837a7baeae (patch)
treec665f8d6cf8c22e87d70e975a5eacf9366984ece /llvm/lib
parent8de61eb01c9752f0488ed8b52d01fe3d0873ff6c (diff)
downloadllvm-422a250b0b8fce3e7ff20c400b5ab2837a7baeae.zip
llvm-422a250b0b8fce3e7ff20c400b5ab2837a7baeae.tar.gz
llvm-422a250b0b8fce3e7ff20c400b5ab2837a7baeae.tar.bz2
[AMDGPU] add tests for Change FLAT SADDR to VADDR form in moveToVALU. NFC. (#149392)
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/FLATInstructions.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/FLATInstructions.td b/llvm/lib/Target/AMDGPU/FLATInstructions.td
index 74632c7..ff57a12 100644
--- a/llvm/lib/Target/AMDGPU/FLATInstructions.td
+++ b/llvm/lib/Target/AMDGPU/FLATInstructions.td
@@ -200,6 +200,7 @@ class VFLAT_Real <bits<8> op, FLAT_Pseudo ps, string opName = ps.Mnemonic> :
let Inst{95-72} = !if(ps.has_offset, offset, ?);
}
+// TODO: Rename to FlatSaddrTable, it now handles both global and flat GVS addressing mode.
class GlobalSaddrTable <bit is_saddr, string Name = ""> {
bit IsSaddr = is_saddr;
string SaddrOp = Name;