================
@@ -548,7 +550,8 @@ def CIR_PtrStrideOp : CIR_Op<"ptr_stride", [
 
//===----------------------------------------------------------------------===//
 
 def CIR_PtrMaskOp : CIR_Op<"ptr_mask", [
-  Pure, AllTypesMatch<["ptr", "result"]>
+  Pure, AllTypesMatch<["ptr", "result"]>,
+  DeclareOpInterfaceMethods<ViewLikeOpInterface>
----------------
xlauko wrote:

This is not really a a viewLikeOp. All other semantically match to some degree 
to `llvm.gep`, but not this one.

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

Reply via email to