Skip to content

Commit bc6b5be

Browse files
authored
Fix TestI64ElementsAttr printer (#82931)
This enables to correctly roundtrip the attribute to text or bytecode.
1 parent da092e8 commit bc6b5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/test/lib/Dialect/Test/TestAttributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Attribute TestI64ElementsAttr::parse(AsmParser &parser, Type type) {
8282
void TestI64ElementsAttr::print(AsmPrinter &printer) const {
8383
printer << "<[";
8484
llvm::interleaveComma(getElements(), printer);
85-
printer << "] : " << getType() << ">";
85+
printer << "]>";
8686
}
8787

8888
LogicalResult

0 commit comments

Comments
 (0)