[Mlir-commits] [mlir] [mlir][Vector] Verify that masked ops implement MaskableOpInterface (PR #108123)

Mehdi Amini llvmlistbot at llvm.org
Wed Sep 11 06:01:42 PDT 2024


================
@@ -6136,11 +6138,14 @@ LogicalResult MaskOp::verify() {
     return emitOpError(
         "expects number of results to match mask region yielded values");
 
-  auto maskableOp = dyn_cast<MaskableOpInterface>(block.front());
   // Empty vector.mask. Nothing else to check.
-  if (!maskableOp)
+  if (numMaskRegionOps == 1)
----------------
joker-eph wrote:

There is a terminator/

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


More information about the Mlir-commits mailing list