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.
1 parent 7dfa2d4 commit 3763314Copy full SHA for 3763314
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
@@ -3907,7 +3907,8 @@ void OpEmitter::genTypeInterfaceMethods() {
3907
("odsInferredTypeAttr" + Twine(inferredTypeIdx) + ".getType()")
3908
.str();
3909
} else {
3910
- llvm_unreachable("Properties cannot be used for type inference");
+ llvm::PrintFatalError(&op.getDef(),
3911
+ "Properties cannot be used for type inference");
3912
}
3913
} else if (std::optional<StringRef> builder =
3914
op.getResult(infer.getResultIndex())
0 commit comments