[clang] [llvm] [SPIR-V] Implement SPV_KHR_untyped_pointers extension (PR #201233)
Marcos Maronas via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 5 07:18:47 PDT 2026
================
@@ -1464,6 +1497,23 @@ unsigned SPIRVGlobalRegistry::getNumScalarOrVectorTotalBitWidth(
: 0;
}
+bool SPIRVGlobalRegistry::isSpecialOpaqueElementType(
----------------
maarquitos14 wrote:
If I understand correctly, I wonder if a better name for this would be `shouldKeepTypedPtrType`. My reasoning is that a function pointer doesn't really seem a special opaque type to me, and maybe in the future we need to handle other cases that aren't special opaque types either. Anyway, just a suggestion, feel free to ignore.
https://github.com/llvm/llvm-project/pull/201233
More information about the cfe-commits
mailing list