[mlir] Add conversion and tests for complex.[sqrt|atan2] to Arith.
authorAlexander Belyaev <pifon@google.com>
Wed, 1 Jun 2022 18:12:23 +0000 (20:12 +0200)
committerAlexander Belyaev <pifon@google.com>
Wed, 1 Jun 2022 18:21:51 +0000 (20:21 +0200)
commitf711785e61e72ca1f483a288c39557e1bdbd1eaa
tree5168d0fbce3247af1cdaca369cb423fb3eff9a50
parent86f9cf88cb06d36e37ef8de006b2a0b651c9b7e9
[mlir] Add conversion and tests for complex.[sqrt|atan2] to Arith.

Differential Revision: https://reviews.llvm.org/D126799
mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir [new file with mode: 0644]