Skip to content

Commit 5e2344b

Browse files
committed
Fix
1 parent 9529ea4 commit 5e2344b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Transform/IR/TransformOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ static void printApplyRegisteredPassOptions(OpAsmPrinter &printer,
924924
else if (auto strAttr = dyn_cast<StringAttr>(optionAttr))
925925
printer.printAttribute(strAttr);
926926
else
927-
assert(false && "each option should be either a StringAttr or UnitAttr");
927+
llvm_unreachable("each option should be either a StringAttr or UnitAttr");
928928
}
929929
}
930930

0 commit comments

Comments
 (0)