Integrate upstream LLVM at 8d9c13f37d2081c11186718ae8b5aef8b507d152.

* mlir-hlo: 062a3ac4a0671d15b5199ed2cd3a9ce02a5bf077

Fixes:

* numInputs() just returns an int instead of requiring a call to .getLimitedValue()
pull/38/head
Stella Laurenzo 2020-09-08 13:29:25 -07:00 committed by Stella Laurenzo
parent 97d83f786a
commit 81dd571c23
3 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit b5924a8e27536d19dd5c4d302db29fb6163d5faa
Subproject commit 8d9c13f37d2081c11186718ae8b5aef8b507d152

2
external/mlir-hlo vendored

@ -1 +1 @@
Subproject commit 848ca244d20f045b7921da55a98a04d95ef94f0e
Subproject commit 062a3ac4a0671d15b5199ed2cd3a9ce02a5bf077

View File

@ -91,9 +91,9 @@ static LogicalResult verify(FuncMetadataOp op) {
if (!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";
if (op.numOutputs().getLimitedValue() != func.getNumResults())
if (op.numOutputs() != func.getNumResults())
return op.emitError() << "must agree on number of outputs";
return success();
}