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
Mogball
a54f4eae0e
[MLIR] Replace std ops with arith dialect ops
...
Precursor: https://reviews.llvm.org/D110200
Removed redundant ops from the standard dialect that were moved to the
`arith` or `math` dialects.
Renamed all instances of operations in the codebase and in tests.
Reviewed By: rriddle, jpienaar
Differential Revision: https://reviews.llvm.org/D110797
2021-10-13 03:07:03 +00: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
dee46d0829
[mlir] Fold complex.create(complex.re(op), complex.im(op))
...
Differential Revision: https://reviews.llvm.org/D103148
2021-05-26 14:02:53 +02:00
Adrian Kuegel
b99f892b02
[mlir] Fold complex.re(complex.create) and complex.im(complex.create)
...
This extends the folding we already have. A test needs to be adjusted.
Differential Revision: https://reviews.llvm.org/D103141
2021-05-26 10:53:05 +02:00
Adrian Kuegel
a28fe17d73
[mlir] Add EqualOp and NotEqualOp to complex dialect.
2021-05-20 13:25:07 +02:00
Adrian Kuegel
fa765a0944
[mlir] Add folder for complex.ReOp and complex.ImOp.
...
Now that complex constants are supported, we can also fold.
Differential Revision: https://reviews.llvm.org/D102616
2021-05-18 11:27:23 +02:00
Adrian Kuegel
967f07f547
Revert "[mlir] Add folder for complex.ReOp and complex.ImOp."
...
This reverts commit 6b49834d652ba70fc24eaea1c37330639d697de5.
Some tests fail.
2021-05-17 13:49:42 +02:00
Adrian Kuegel
6b49834d65
[mlir] Add folder for complex.ReOp and complex.ImOp.
...
Now that complex constants are supported, we can also fold.
Differential Revision: https://reviews.llvm.org/D102609
2021-05-17 13:35:51 +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