This is an archive of the discontinued LLVM Phabricator instance.

[mlir][ods] OpFormat: ensure that regions don't follow `attr-dict`
ClosedPublic

Authored by Mogball on Aug 10 2022, 5:19 PM.

Details

Summary

An optional attribute dictionary before a region in an assembly format
is a potential format ambiguity because they both start with {.

Fixes #53077

Diff Detail

Event Timeline

Mogball created this revision.Aug 10 2022, 5:19 PM
Mogball requested review of this revision.Aug 10 2022, 5:19 PM
rriddle accepted this revision.Aug 12 2022, 4:17 PM

Nice!

mlir/tools/mlir-tblgen/OpFormatGen.cpp
2525
This revision is now accepted and ready to land.Aug 12 2022, 4:17 PM
Mogball updated this revision to Diff 452342.Aug 12 2022, 6:00 PM
Mogball marked an inline comment as done.

review comments

This revision was landed with ongoing or failed builds.Aug 12 2022, 6:00 PM
This revision was automatically updated to reflect the committed changes.