diff options
author | Jay Foad <jay.foad@amd.com> | 2024-10-01 14:12:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 14:12:34 +0100 |
commit | fe61dbf1d3350d11ab975e45f805f3bfe885b8b7 (patch) | |
tree | 8b61558d8b2bdba87198223a8ad75d4575f909e8 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 9cd289fa4a7355e1bfd3129ba9c755f979fd0a72 (diff) | |
download | llvm-fe61dbf1d3350d11ab975e45f805f3bfe885b8b7.zip llvm-fe61dbf1d3350d11ab975e45f805f3bfe885b8b7.tar.gz llvm-fe61dbf1d3350d11ab975e45f805f3bfe885b8b7.tar.bz2 |
[AMDGPU] Specify width and align for all AMDGPU builtin types. NFC. (#109656)
This will be used in ASTContext::getTypeInfo which needs this
information for all builtin types, not just pointers.
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 4782e80..8887c4d 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -900,7 +900,7 @@ llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) { return SingletonId; \ } #include "clang/Basic/WebAssemblyReferenceTypes.def" -#define AMDGPU_OPAQUE_PTR_TYPE(Name, AS, Width, Align, Id, SingletonId) \ +#define AMDGPU_OPAQUE_PTR_TYPE(Name, Id, SingletonId, Width, Align, AS) \ case BuiltinType::Id: { \ if (!SingletonId) \ SingletonId = \ |