Skip to content

Commit b922365

Browse files
committed
fixup! [MLIR][TableGen] Warn on APInt parameter without custom comparator
1 parent a5cb62b commit b922365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ void DefGen::emitStorageClass() {
680680
storageCls->finalize();
681681
for (auto &param : params) {
682682
if (param.getCppType().contains("APInt") && !param.hasCustomComparator()) {
683-
PrintError(
683+
PrintFatalError(
684684
def.getLoc(),
685685
"Using a raw APInt parameter without a custom comparator is "
686686
"not supported because an assert in the equality operator is "

0 commit comments

Comments
 (0)