[PATCH] D73571: [MLIR] Add the sqrt operation to mlir.

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 14:43:59 PST 2020


ftynse requested changes to this revision.
ftynse added inline comments.
This revision now requires changes to proceed.


================
Comment at: mlir/docs/Dialects/Standard.md:606
+// Tensor element-wise square root value.
+%x = sqrt %y : tensor<4x?xf8>
+```
----------------
f8 isn't a valid type :)


================
Comment at: mlir/docs/Dialects/Standard.md:609
+
+The `sqrt` operation computes the square root. It takes one operand and
+returns one result of the same type. This type may be a float scalar type, a
----------------
This description should go into ODS. We have an open bug to fully autogenerate this doc from there.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73571/new/

https://reviews.llvm.org/D73571





More information about the llvm-commits mailing list