[all-commits] [llvm/llvm-project] c8f6bb: [mlir][doc] Remove duplicate syntax formats (#73343)

Rik Huijzer via All-commits all-commits at lists.llvm.org
Sat Nov 25 00:33:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8f6bb452a77260f543cb256e53a5028bb180668
      https://github.com/llvm/llvm-project/commit/c8f6bb452a77260f543cb256e53a5028bb180668
  Author: Rik Huijzer <github at huijzer.xyz>
  Date:   2023-11-25 (Sat, 25 Nov 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td

  Log Message:
  -----------
  [mlir][doc] Remove duplicate syntax formats (#73343)

Some operations defined their syntax both in the documentation and via
`assemblyFormat`. This leads to two `Syntax:` subheadings in the
documentation, see for example the documentation for
[`arith.maximumf`](https://mlir.llvm.org/docs/Dialects/ArithOps/#arithmaximumf-arithmaximumfop).
Since the `assemblyFormat` is used to generate the actual parsers and
printer implementations, this PR suggest to remove the manual syntax
descriptions.




More information about the All-commits mailing list