aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-10-01 14:12:34 +0100
committerGitHub <noreply@github.com>2024-10-01 14:12:34 +0100
commitfe61dbf1d3350d11ab975e45f805f3bfe885b8b7 (patch)
tree8b61558d8b2bdba87198223a8ad75d4575f909e8 /clang/lib/CodeGen/CGDebugInfo.cpp
parent9cd289fa4a7355e1bfd3129ba9c755f979fd0a72 (diff)
downloadllvm-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.cpp2
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 = \