[Mlir-commits] [mlir] [mlir][Vector] Improve `vector.mask` verifier (PR #139823)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon May 19 07:43:40 PDT 2025


================
@@ -6603,9 +6605,8 @@ LogicalResult MaskOp::verify() {
                        "number of results");
 
   if (!llvm::equal(maskableOp->getResults(), terminator.getOperands()))
-    return emitOpError(
-        "expects all the results from the MaskableOpInterface to "
-        "be returned by the terminator");
+    return emitOpError("expects all the results from the MaskableOpInterface "
+                       "to match all the values returned by the terminator");
----------------
banach-space wrote:

+1

I would still appreciate a TODO or some comment - mostly for my future self as a reminder about this conversation :) 

https://github.com/llvm/llvm-project/pull/139823


More information about the Mlir-commits mailing list