[all-commits] [llvm/llvm-project] b4865d: [MLIR] Add nested symbols into LangRef

Siddharth via All-commits all-commits at lists.llvm.org
Mon Apr 4 09:30:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4865dd67f05a4c4680eaa6d257553a48bc704e0
      https://github.com/llvm/llvm-project/commit/b4865dd67f05a4c4680eaa6d257553a48bc704e0
  Author: Groverkss <groverkss at gmail.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M mlir/docs/LangRef.md

  Log Message:
  -----------
  [MLIR] Add nested symbols into LangRef

Add documentation into the LangRef for parsing nested symbols.

Reviewed By: rriddle

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


  Commit: 94b372e725a1c22e6e418d154f1499bc6c56f5c7
      https://github.com/llvm/llvm-project/commit/94b372e725a1c22e6e418d154f1499bc6c56f5c7
  Author: Siddharth Bhat <siddu.druid at gmail.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinAttributes.td

  Log Message:
  -----------
  [MLIR] Add booleans to dense element list in LangRef

Add boolean values as a dense element, as tested in the MLIR parser:

```
  // CHECK: "splatBoolTensor"() {bar = dense<false> : tensor<i1>} : () -> ()
  "splatBoolTensor"(){bar = dense<false> : tensor<i1>} : () -> ()
```

https://github.com/llvm/llvm-project/blob/43d758b142bbdf94a1c55dc0950637ae74f825b9/mlir/test/IR/parser.mlir#L630-L631

Reviewed By: rriddle

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


Compare: https://github.com/llvm/llvm-project/compare/2387fadea3a8...94b372e725a1


More information about the All-commits mailing list