forked from OSchip/llvm-project
Finish removing multi-result affine maps from the testsuite, and disable them.
PiperOrigin-RevId: 231014261
This commit is contained in:
parent
ebac3528d0
commit
146ad7cf43
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue