[mlir][complex] Inverse canonicalization between exp and logWe can canonicalize consecutive complex.exp and complex.log which are inverse functions each other.Reviewed By: bixiaDifferential Rev
[mlir][complex] Inverse canonicalization between exp and logWe can canonicalize consecutive complex.exp and complex.log which are inverse functions each other.Reviewed By: bixiaDifferential Revision: https://reviews.llvm.org/D128966
show more ...
[mlir][complex] Canonicalization for consecutive complex.negConsecutive complex.neg are redundant so that we can canonicalize them to the original operands.Reviewed By: pifon2aDifferential Revi
[mlir][complex] Canonicalization for consecutive complex.negConsecutive complex.neg are redundant so that we can canonicalize them to the original operands.Reviewed By: pifon2aDifferential Revision: https://reviews.llvm.org/D128781
[mlir][complex] Canonicalization for consecutive complex.add and subAdd basic canonicalization for consecutive complex.add and sub operations.Reviewed By: pifon2aDifferential Revision: https://
[mlir][complex] Canonicalization for consecutive complex.add and subAdd basic canonicalization for consecutive complex.add and sub operations.Reviewed By: pifon2aDifferential Revision: https://reviews.llvm.org/D128702
[mlir][complex] Sanity check for tan operation in complex dialectAdd a sanity check for newly added tan operation in complex dialect. It follows-up to https://reviews.llvm.org/D126685.Differentia
[mlir][complex] Sanity check for tan operation in complex dialectAdd 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
[mlir] Add `complex.atan2` operation.Differential Revision: https://reviews.llvm.org/D126357
[mlir] Add Expm1 tp ComplexOps.td.Differential Revision: https://reviews.llvm.org/D126206
[mlir] Add RSqrt tp ComplexOps.td.Differential Revision: https://reviews.llvm.org/D126202
[mlir] Add sin & cos ops to complex dialectAlso adds conversions for those ops to math + arith.Differential Revision: https://reviews.llvm.org/D124773
[mlir][NFC] Update textual references of `func` to `func.func` in Bufferization/Complex/EmitC/CF/Func/GPU testsThe special case parsing of `func` operations is being removed.
[mlir] Move the complex support of std.constant to a new complex.constant operationThis is part of splitting up the standard dialect.Differential Revision: https://reviews.llvm.org/D118182
[MLIR] Replace std ops with arith dialect opsPrecursor: https://reviews.llvm.org/D110200Removed redundant ops from the standard dialect that were moved to the`arith` or `math` dialects.Renamed
[MLIR] Replace std ops with arith dialect opsPrecursor: https://reviews.llvm.org/D110200Removed 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, jpienaarDifferential Revision: https://reviews.llvm.org/D110797
Add Log1pOp to complex dialect.Also add a lowering pattern from Complex to Standard/Math dialect.Differential Revision: https://reviews.llvm.org/D105538
Add LogOp to Complex dialect.Differential Revision: https://reviews.llvm.org/D105337
[mlir] Fold complex.create(complex.re(op), complex.im(op))Differential Revision: https://reviews.llvm.org/D103148
[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
[mlir] Add EqualOp and NotEqualOp to complex dialect.
[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
Revert "[mlir] Add folder for complex.ReOp and complex.ImOp."This reverts commit 6b49834d652ba70fc24eaea1c37330639d697de5.Some tests fail.
[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
[mlir] Add `complex.abs`, `complex.div` and `complex.mul` to ComplexOps.Differential Revision: https://reviews.llvm.org/D94911
[mlir] Add Complex dialect.Differential Revision: https://reviews.llvm.org/D94764