================
@@ -1134,6 +1132,12 @@ static TargetTypeInfo getTargetTypeInfo(const
TargetExtType *Ty) {
TargetExtType::CanBeVectorElement);
}
+ // Opaque types in the WebAssembly name space.
+ if (Name == "wasm.funcref" || Name == "wasm.externref")
+ return TargetTypeInfo(PointerType::getUnqual(C),
TargetExtType::HasZeroInit,
----------------
hoodmane wrote:
Yeah it's a pretty small change, will add it to this PR.
https://github.com/llvm/llvm-project/pull/203165
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits