[all-commits] [llvm/llvm-project] 60d276: [mlir][ods] OpFormat: ensure that regions don't fo...

Jeff Niu via All-commits all-commits at lists.llvm.org
Fri Aug 12 18:00:38 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60d276923902051192eba692e5312e605c9d9f65
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M mlir/test/mlir-tblgen/op-format-invalid.td
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

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

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

Fixes #53077

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D131636

More information about the All-commits mailing list