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 340d746 commit 3e4ad66Copy full SHA for 3e4ad66
mlir/lib/TableGen/Constraint.cpp
@@ -31,8 +31,7 @@ Constraint::Constraint(const llvm::Record *record)
31
} else if (def->isSubClassOf("SuccessorConstraint")) {
32
kind = CK_Successor;
33
} else if(!def->isSubClassOf("Constraint")) {
34
- llvm::errs() << "Expected a constraint but got: \n";
35
- def->dump();
+ llvm::errs() << "Expected a constraint but got: \n" << *def << "\n";
36
llvm::report_fatal_error("Abort");
37
}
38
0 commit comments