llvm-project/mlir/test/Dialect/Standard
Hanhan Wang 9cb10296ec [mlir] Add support for lowering tanh to LLVMIR.
Summary:
Fixed build of D81618

Add a pattern for expanding tanh op into exp form.
A `tanh` is expanded into:
   1) 1-exp^{-2x} / 1+exp^{-2x}, if x => 0
   2) exp^{2x}-1 / exp^{2x}+1  , if x < 0.

Differential Revision: https://reviews.llvm.org/D82040
2020-06-18 10:42:13 -07:00
..
canonicalize-cf.mlir [mlir] Refactor BoolAttr to be a special case of IntegerAttr 2020-06-04 16:41:24 -07:00
expand-atomic.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
expand-tanh.mlir [mlir] Add support for lowering tanh to LLVMIR. 2020-06-18 10:42:13 -07:00
invalid.mlir [mlir] Mark CastOp class's shape constraint 2020-06-12 06:50:07 -07:00
ops.mlir [mlir][StandardOps] Updated IndexCastOp to support tensor<index> cast 2020-06-10 17:19:08 -07:00