MLIR: add SinOp Lowering to __nv_sinf and __nv_sin
authorQingyi Liu <liuqingyi1993@gmail.com>
Wed, 28 Oct 2020 13:06:45 +0000 (14:06 +0100)
committerAlex Zinenko <zinenko@google.com>
Wed, 28 Oct 2020 13:15:26 +0000 (14:15 +0100)
commit1ec893c57417d9d762451c0837f5a84545f5da16
tree189d02e70ffc6fd6edcebd34e5b97b479a9fce12
parent23c8da25ef79b31f8d014cb6135437e9061a4ce7
MLIR: add SinOp Lowering to __nv_sinf and __nv_sin

Added lowering rule from `SinOp` to `__nv_sinf` and `__nv_sin`

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D90147
mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir