[MLIR][Math] Improve docs (NFC)
authorlorenzo chelini <l.chelini@icloud.com>
Mon, 30 May 2022 10:19:10 +0000 (12:19 +0200)
committerlorenzo chelini <l.chelini@icloud.com>
Tue, 31 May 2022 16:16:59 +0000 (18:16 +0200)
commit850dbff708f1e371722306363231a3816179ad7b
tree82a8187155729dc5cd16fae84a96b1a2f283e7ce
parente22b02d9b4f8bb968628ac7cf2d9a42bf13e2898
[MLIR][Math] Improve docs (NFC)

Remove boilerplate examples and add a text at the dialect level to describe
what kind of operands the operations accept (i.e., scalar, tensor or vector).
Left a shorter sentence describing the input operands for each operation as
this redundancy is convenient when browsing the documentation using the
website.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D126648
mlir/include/mlir/Dialect/Math/IR/MathBase.td
mlir/include/mlir/Dialect/Math/IR/MathOps.td