[Mlir-commits] [mlir] [mlir][Vector] Verify that masked ops implement MaskableOpInterface (PR #108123)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Wed Sep 11 05:47:15 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)
----------------
banach-space wrote:
Shouldn't this be comparing against 0?
https://github.com/llvm/llvm-project/pull/108123
More information about the Mlir-commits
mailing list