[all-commits] [llvm/llvm-project] 773026: [mlir][quant] Move comments to TableGen statements

Rik Huijzer via All-commits all-commits at lists.llvm.org
Wed Jun 7 11:02:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77302696a6e4b4c60536398e5d2b520681f99990
      https://github.com/llvm/llvm-project/commit/77302696a6e4b4c60536398e5d2b520681f99990
  Author: rikhuijzer <rikhuijzer at pm.me>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Quant/QuantOps.td
    M mlir/include/mlir/Dialect/Quant/QuantOpsBase.td

  Log Message:
  -----------
  [mlir][quant] Move comments to TableGen statements

The `quant` dialect documentation currently mostly empty (https://mlir.llvm.org/docs/Dialects/QuantDialect/).
This patch moves the comments to TableGen statements.
By looking at the generated `QuantDialect.md`, I've confirmed that each change in this patch will end up in the documentation.

The only thing that I wasn't able to document was the `UniformQuantizedType`.
I haven't found a way to document a `DialectType` since most appear to be private in other dialects; suggestions are welcome.

Reviewed By: jpienaar

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




More information about the All-commits mailing list