[all-commits] [llvm/llvm-project] e83c6a: [MLIR] [LangRef] Clarify parsing of dense<...>

Siddharth via All-commits all-commits at lists.llvm.org
Wed Mar 16 09:57:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e83c6aa91e0e336468c00b0fc2d424c889223e1f
      https://github.com/llvm/llvm-project/commit/e83c6aa91e0e336468c00b0fc2d424c889223e1f
  Author: Siddharth Bhat <siddu.druid at gmail.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinAttributes.td
    M mlir/lib/Parser/AttributeParser.cpp

  Log Message:
  -----------
  [MLIR] [LangRef] Clarify parsing of dense<...>

dense<...> expects ... to be a tensor-literal.
Define this in the grammar in BuiltinAttributes.td,
and reflect this in the reference grammar written in
AttributeParser.cpp.

Reviewed By: rriddle

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




More information about the All-commits mailing list