File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
mlir/include/mlir/Dialect/MPI/IR Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,18 @@ def MPI_Barrier : MPI_Op<"barrier", []> {
328328
329329 let results = (outs Optional<MPI_Retval>:$retval);
330330
331- let assemblyFormat = "(`(` $comm ^ `)`)? attr-dict (`:` type($retval) ^)?";
331+ // TODO fix assembly format
332+ // let assemblyFormat = "("
333+ // "(attr-dict) ^"
334+ // "(attr-dict `:` type($retval)) ^"
335+ // "(`(` $comm `)` attr-dict `:` type($comm)) ^"
336+ // "(`(` $comm `)` attr-dict `:` type($comm) `->` type($retval))"
337+ // ")?";
338+ let assemblyFormat = [{
339+ (`(` $comm ^ `)`)? attr-dict
340+ (`:` type($comm) ^ `->`):(`:`)?
341+ type(results)
342+ }];
332343}
333344
334345//===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments