[llvm] [SPIR-V] Implement SPV_KHR_untyped_pointers extension (PR #201233)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 9 08:49:49 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;
----------------
aobolensk wrote:
Do you use this function? It seems to be freshly added and there are no callers
https://github.com/llvm/llvm-project/pull/201233
More information about the llvm-commits
mailing list