[all-commits] [llvm/llvm-project] 890d5e: [MLIR][GPU] Disallow llvm tanh intrinsics when low...
Stephan Herhut via All-commits
all-commits at lists.llvm.org
Tue Feb 11 06:12:10 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 890d5e2dd232f43842d8a9025e639027946d81f4
https://github.com/llvm/llvm-project/commit/890d5e2dd232f43842d8a9025e639027946d81f4
Author: Stephan Herhut <herhut at google.com>
Date: 2020-02-11 (Tue, 11 Feb 2020)
Changed paths:
M mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list