================
@@ -2201,6 +2207,9 @@ TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const 
{
     Align = 8;                                                                 
\
     break;
 #include "clang/Basic/WebAssemblyReferenceTypes.def"
+    case BuiltinType::AMDGPUBufferRsrc:
+      Width = 0;
+      Align = 256;
----------------
shiltian wrote:

Based on our data layout, it looks like AS8 pointer is 128 bit and AS7 is 160 
bit. The alignment here should be 128.

https://github.com/llvm/llvm-project/pull/94830
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to