================
@@ -3705,7 +3705,14 @@ def CIR_VTableAddrPointOp : 
CIR_Op<"vtable.address_point", [
 // VTableGetVPtr
 
//===----------------------------------------------------------------------===//
 
-def CIR_VTableGetVPtrOp : CIR_Op<"vtable.get_vptr", [Pure]> {
+def CIR_VTableGetVPtrOp : CIR_Op<"vtable.get_vptr", [
+  Pure,
+  TypesMatchWith<
+      "result is a vptr pointer in the address space of 'src'", "src",
+      "result",
----------------
aobolensk wrote:

Done

https://github.com/llvm/llvm-project/pull/238495
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to