[clang] [lldb] [Clang][SPIRV] Add __spirv_event_t builtin type (PR #207077)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 16 09:41:54 PDT 2026
================
@@ -2438,6 +2445,12 @@ TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const {
Width = Target->getPointerWidth(LangAS::Default);
Align = Target->getPointerAlign(LangAS::Default);
break;
+#define SPIRV_TYPE(Name, Id, SingletonId) \
+ case BuiltinType::Id: \
+ Width = Target->getPointerWidth(LangAS::Default); \
+ Align = Target->getPointerAlign(LangAS::Default); \
----------------
AaronBallman wrote:
Just verifying out of ignorance: is the default address space correct? (Asking because offload stuff tends to use address spaces differently than other stuff.)
https://github.com/llvm/llvm-project/pull/207077
More information about the cfe-commits
mailing list