[clang] [llvm] [CIR][AMDGPU][SPIR-V] Wire AMDGCN SPIR-V into the call convention lowering pass (PR #238348)

via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 02:44:01 PST 2026


================
@@ -105,6 +105,10 @@ class Type {
     return alignTo(getTypeStoreSize(), getAlignment().value());
   }
 
+  /// Unlike getSizeInBits this includes trailing padding, matching Clang
+  /// ASTContext::getTypeSize.
+  TypeSize getTypeAllocSizeInBits() const { return getTypeAllocSize() * 8; }
----------------
skc7 wrote:

Doesn't seem to be used by anything in this PR, could we drop this?

https://github.com/llvm/llvm-project/pull/238348


More information about the cfe-commits mailing list