[clang] [llvm] [SPIR-V] Implement SPV_KHR_untyped_pointers extension (PR #201233)

Dmitry Sidorov via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 10:45:59 PDT 2026


================
@@ -404,6 +420,20 @@ class SPIRVGlobalRegistry : public SPIRVIRMapping {
   // argument. Otherwise returns 0.
   unsigned getNumScalarOrVectorTotalBitWidth(SPIRVTypeInst Type) const;
 
+  // Size in bytes of the LLVM type for the given SPIR-V type, or 0 if unknown.
+  unsigned getSPIRVTypeByteSize(SPIRVTypeInst Type) const;
----------------
MrSidims wrote:

indeed, removed. Thanks!

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


More information about the cfe-commits mailing list