[clang] [Clang][AMDGPU] Add a new builtin type for buffer rsrc (PR #94830)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 7 22:19:16 PDT 2024
================
@@ -2200,6 +2206,9 @@ TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const {
Align = 8; \
break;
#include "clang/Basic/WebAssemblyReferenceTypes.def"
+ case BuiltinType::AMDGPUBufferRsrc:
+ Width = 128;
+ Align = 128;
----------------
arsenm wrote:
If we were exposing the pointer, it would be 160/192
https://github.com/llvm/llvm-project/pull/94830
More information about the cfe-commits
mailing list