Multiple vector results require multiple masks and passthru values.
Depends On: D141683
Differential Revision: https://reviews.llvm.org/D141786
return emitOpError(
"expects result type to match maskable operation result type");
+ if (llvm::count_if(maskableOp->getResultTypes(),
+ [](Type t) { return t.isa<VectorType>(); }) > 1)
+ return emitOpError("multiple vector results not supported");
+
// Mask checks.
Type expectedMaskType = maskableOp.getExpectedMaskType();
if (getMask().getType() != expectedMaskType)