Rob Suderman
a8df21f433
[mlir][complex] Add a complex.bitcast operation
...
Converting between a complex<f32> to i64 could be useful for handling interop
between the `arith` and `complex` dialects.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D154663
2023-07-06 16:21:57 -07:00
lewuathe
4b13b061ae
[mlir][complex] Sanity check for tan operation in complex dialect
...
Add a sanity check for newly added tan operation in complex dialect. It follows-up to https://reviews.llvm.org/D126685 .
Differential Revision: https://reviews.llvm.org/D126858
2022-06-02 10:33:40 +02:00
Alexander Belyaev
b3c5c22c13
[mlir] Add complex.atan2 operation.
...
Differential Revision: https://reviews.llvm.org/D126357
2022-05-25 10:11:44 +02:00
Alexander Belyaev
f3eeefe449
[mlir] Add Expm1 tp ComplexOps.td.
...
Differential Revision: https://reviews.llvm.org/D126206
2022-05-23 16:31:16 +02:00
Alexander Belyaev
a3a85fe59f
[mlir] Add RSqrt tp ComplexOps.td.
...
Differential Revision: https://reviews.llvm.org/D126202
2022-05-23 16:12:05 +02:00
Goran Flegar
672b908bca
[mlir] Add sin & cos ops to complex dialect
...
Also adds conversions for those ops to math + arith.
Differential Revision: https://reviews.llvm.org/D124773
2022-05-03 19:36:12 +02:00
River Riddle
412b8850f6
[mlir][NFC] Update textual references of func to func.func in Bufferization/Complex/EmitC/CF/Func/GPU tests
...
The special case parsing of `func` operations is being removed.
2022-04-20 22:17:28 -07:00
River Riddle
480cd4cb85
[mlir] Move the complex support of std.constant to a new complex.constant operation
...
This is part of splitting up the standard dialect.
Differential Revision: https://reviews.llvm.org/D118182
2022-01-26 11:52:00 -08:00
Adrian Kuegel
6e80e3bd1b
Add Log1pOp to complex dialect.
...
Also add a lowering pattern from Complex to Standard/Math dialect.
Differential Revision: https://reviews.llvm.org/D105538
2021-07-07 11:33:54 +02:00
Adrian Kuegel
791ddb79f1
Add LogOp to Complex dialect.
...
Differential Revision: https://reviews.llvm.org/D105337
2021-07-02 13:15:47 +02:00
Adrian Kuegel
a28fe17d73
[mlir] Add EqualOp and NotEqualOp to complex dialect.
2021-05-20 13:25:07 +02:00
Alexander Belyaev
11f4c58c15
[mlir] Add complex.abs, complex.div and complex.mul to ComplexOps.
...
Differential Revision: https://reviews.llvm.org/D94911
2021-01-19 12:09:59 +01:00
Alexander Belyaev
d0cb0d30a4
[mlir] Add Complex dialect.
...
Differential Revision: https://reviews.llvm.org/D94764
2021-01-15 19:58:10 +01:00