[all-commits] [llvm/llvm-project] f8077a: mlir/tblgen test: add a test for EnumAttr customAs...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Thu Dec 22 08:31:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8077a1f0247bbf06f81737c50ad1c868046e4c7
      https://github.com/llvm/llvm-project/commit/f8077a1f0247bbf06f81737c50ad1c868046e4c7
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M mlir/test/mlir-tblgen/attr-or-type-format.td

  Log Message:
  -----------
  mlir/tblgen test: add a test for EnumAttr customAssemblyFormat

attr-or-type-format.td contains tests for various attributes and types,
but nowhere in the testsuite is the customAssemblyFormat for an EnumAttr
(enum class in C++) exercised. Fix this by adding a test.

Signed-off-by: Ramkumar Ramachandra <r at artagnon.com>

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




More information about the All-commits mailing list