[Mlir-commits] [mlir] [mlir][tblgen] Fix bug when mixing props and InferTypes (PR #157367)
Fabian Mora
llvmlistbot at llvm.org
Mon Sep 8 06:02:02 PDT 2025
================
@@ -3907,6 +3906,8 @@ void OpEmitter::genTypeInterfaceMethods() {
typeStr =
("odsInferredTypeAttr" + Twine(inferredTypeIdx) + ".getType()")
.str();
+ } else {
+ llvm_unreachable("Properties cannot be used for type inference");
----------------
fabianmcg wrote:
Changed to `PrintFatalError`
https://github.com/llvm/llvm-project/pull/157367
More information about the Mlir-commits
mailing list