[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] (NFC) Clean up bazel and CMake target namesAll dialect targets in bazel have been named *Dialect and all dialecttargets in CMake have been named MLIR*Dialect.
[mlir][NFC] Update remaining dialect operations to use `hasVerifier` instead of `verifier`The verifier field is deprecated, and slated for removal.Differential Revision: https://reviews.llvm.org/
[mlir][NFC] Update remaining dialect operations to use `hasVerifier` instead of `verifier`The verifier field is deprecated, and slated for removal.Differential Revision: https://reviews.llvm.org/D118829
[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
[mlir] Generare .cpp.inc files for dialects.* Previously, we were only generating .h.inc files. We foresee the need to also generate implementations and this is a step towards that.* Discussed in
[mlir] Generare .cpp.inc files for dialects.* Previously, we were only generating .h.inc files. We foresee the need to also generate implementations and this is a step towards that.* Discussed in https://llvm.discourse.group/t/generating-cpp-inc-files-for-dialects/3732/2* Deviates from the discussion above by generating a default constructor in the .cpp.inc file (and adding a tablegen bit that disables this in case if this is user provided).* Generating the destructor started as a way to flush out the missing includes (produces a link error), but it is a strict improvement on its own that is worth doing (i.e. by emitting key methods in the .cpp file, we root vtables in one translation unit, which is a non-controversial improvement).Differential Revision: https://reviews.llvm.org/D105070
[mlir] Fold complex.create(complex.re(op), complex.im(op))Differential Revision: https://reviews.llvm.org/D103148
[mlir] Simplify folding code (NFC)
[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 dialect.Differential Revision: https://reviews.llvm.org/D94764