llvm/mlir
Hanhan Wang 32c757e4f8 [mlir] Add support for lowering tanh to LLVMIR.
Summary:
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/D81618
2020-06-15 10:29:31 -07:00
..
cmake/modules Install the MLIRTableGen static library. 2020-06-11 18:23:24 -07:00
docs [mlir] Affine symbols: do not expect AffineScope to always exist 2020-06-15 17:55:49 +02:00
examples [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
include [mlir] Add support for lowering tanh to LLVMIR. 2020-06-15 10:29:31 -07:00
lib [mlir] Add support for lowering tanh to LLVMIR. 2020-06-15 10:29:31 -07:00
test [mlir] Add support for lowering tanh to LLVMIR. 2020-06-15 10:29:31 -07:00
tools [mlir] Add support for lowering tanh to LLVMIR. 2020-06-15 10:29:31 -07:00
unittests [mlir][spirv] Enhance structure type member decoration handling 2020-06-12 17:57:14 -04:00
utils [MLIR][NFC] Update vim syntax file 2020-06-14 18:03:26 +05:30
.clang-format
.clang-tidy
CMakeLists.txt [mlir][gpu] Introduce mlir-rocm-runner. 2020-06-05 09:46:39 -05:00
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.