We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
checkFoldResult
1 parent 8d71016 commit 4c77cc6Copy full SHA for 4c77cc6
mlir/lib/IR/Operation.cpp
@@ -619,8 +619,8 @@ static void checkFoldResultTypes(Operation *op,
619
if (auto value = dyn_cast<Value>(ofr)) {
620
if (value.getType() != opResult.getType()) {
621
op->emitOpError() << "folder produced a value of incorrect type: "
622
- << opResult.getType()
623
- << ", expected: " << value.getType();
+ << value.getType()
+ << ", expected: " << opResult.getType();
624
assert(false && "incorrect fold result type");
625
}
626
0 commit comments