[mlir][complex] Lower complex.sin/cos to libm
authorlewuathe <lewuathe@me.com>
Thu, 2 Jun 2022 08:38:20 +0000 (10:38 +0200)
committerAlexander Belyaev <pifon@google.com>
Thu, 2 Jun 2022 08:39:00 +0000 (10:39 +0200)
commit9f0869a61dc8d8227956b56cdb0c5c877bb8718a
tree4591e6f7ca32f84ccbf39f559cf2ddac363532e2
parent3ed6fc9a697e59efbb2ed7bb3f029ca0c312924a
[mlir][complex] Lower complex.sin/cos to libm

Lower sin/cos operation in complex dialect to libm as a baseline. This follows up to https://reviews.llvm.org/D125550.

Reviewed By: pifon2a

Differential Revision: https://reviews.llvm.org/D126755
mlir/lib/Conversion/ComplexToLibm/ComplexToLibm.cpp
mlir/test/Conversion/ComplexToLibm/convert-to-libm.mlir