Kai Sasaki
fdcb76f248
[mlir][complex] Convert complex.tan to libm ctan call ( #78250 )
...
We can convert `complex.tan` op to
[ctan/ctanf](https://sourceware.org/newlib/libm.html#ctan ) function in
libm in the complex to libm conversion.
2024-01-18 12:21:19 +09:00
Kai Sasaki
7769505ae9
[mlir][complex] Lower complex.log to libm log call
...
Lower complex.log to corresponding function call with libm.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D129417
2022-07-11 21:56:00 +02:00
lewuathe
f27deeee79
[mlir][complex] Lower complex.angle to libm
...
complex.angle corresponds to arg function in libm. We can lower complex.angle to arg and argf.
Reviewed By: pifon2a
Differential Revision: https://reviews.llvm.org/D129341
2022-07-08 04:39:23 +02:00
lewuathe
eaba6e0b5c
[mlir][complex] Convert complex.abs to libm
...
Convert complex.abs to libm library
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D127476
2022-07-08 09:55:51 +09:00
lewuathe
72ee11a8cf
[mlir][complex] Convert complex.conj to libm
...
Add conversion for complex.conj to libm call
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D127473
2022-06-20 09:38:50 +09:00
lewuathe
9f0869a61d
[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
2022-06-02 10:39:00 +02:00
Benjamin Kramer
e497871356
[mlir][complex] Add pow/sqrt/tanh ops and lowering to libm
...
Lowering through libm gives us a baseline version, even though it's not
going to be particularly fast. This is similar to what we do for some
math dialect ops.
Differential Revision: https://reviews.llvm.org/D125550
2022-05-18 14:03:14 +02:00