================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits