Finish removing multi-result affine maps from the testsuite, and disable them.

PiperOrigin-RevId: 231014261
This commit is contained in:
Chris Lattner 2019-01-25 20:44:40 -08:00 committed by jpienaar
parent ebac3528d0
commit 146ad7cf43
1 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,9 @@ void AffineApplyOp::print(OpAsmPrinter *p) const {
}
bool AffineApplyOp::verify() const {
if (getNumResults() != 1)
return emitOpError("multi-result affine_apply is not supported");
// Check that affine map attribute was specified.
auto affineMapAttr = getAttrOfType<AffineMapAttr>("map");
if (!affineMapAttr)