mirror of https://github.com/llvm/torch-mlir
Integrate upstream LLVM at 8d9c13f37d2081c11186718ae8b5aef8b507d152.
* mlir-hlo: 062a3ac4a0671d15b5199ed2cd3a9ce02a5bf077 Fixes: * numInputs() just returns an int instead of requiring a call to .getLimitedValue()pull/38/head
parent
97d83f786a
commit
81dd571c23
|
@ -1 +1 @@
|
||||||
Subproject commit b5924a8e27536d19dd5c4d302db29fb6163d5faa
|
Subproject commit 8d9c13f37d2081c11186718ae8b5aef8b507d152
|
|
@ -1 +1 @@
|
||||||
Subproject commit 848ca244d20f045b7921da55a98a04d95ef94f0e
|
Subproject commit 062a3ac4a0671d15b5199ed2cd3a9ce02a5bf077
|
|
@ -91,9 +91,9 @@ static LogicalResult verify(FuncMetadataOp op) {
|
||||||
if (!func)
|
if (!func)
|
||||||
return op.emitError() << "must reference a valid func";
|
return op.emitError() << "must reference a valid func";
|
||||||
|
|
||||||
if (op.numInputs().getLimitedValue() != func.getNumArguments())
|
if (op.numInputs() != func.getNumArguments())
|
||||||
return op.emitError() << "must agree on number of inputs";
|
return op.emitError() << "must agree on number of inputs";
|
||||||
if (op.numOutputs().getLimitedValue() != func.getNumResults())
|
if (op.numOutputs() != func.getNumResults())
|
||||||
return op.emitError() << "must agree on number of outputs";
|
return op.emitError() << "must agree on number of outputs";
|
||||||
return success();
|
return success();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue