llvm-project/mlir/lib/Conversion/GPUToNVVM
Stephan Herhut 890d5e2dd2 [MLIR][GPU] Disallow llvm tanh intrinsics when lowering to NVVM/ROCm.
Summary:
The lowering to NVVM and ROCm handles tanh operations differently by
mapping them to NVVM/ROCm specific intrinsics. This conflicts with
the lowering to LLVM, which uses the default llvm intrinsic. This change
declares the LLVM intrinsics to be illegal, hence disallowing the
correspondign rewrite.

Differential Revision: https://reviews.llvm.org/D74389
2020-02-11 15:09:30 +01:00
..
CMakeLists.txt [MLIR] Fixes for shared library dependencies. 2020-02-04 08:56:37 -08:00
GPUToNVVM.td Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
LowerGpuOpsToNVVMOps.cpp [MLIR][GPU] Disallow llvm tanh intrinsics when lowering to NVVM/ROCm. 2020-02-11 15:09:30 +01:00