This is an archive of the discontinued LLVM Phabricator instance.

[mlir][complex] Add complex.conj op
ClosedPublic

Authored by Lewuathe on Jun 6 2022, 10:59 PM.

Details

Summary

Add complex.conj op to calculate the complex conjugate which is widely used for the mathematical operation on the complex space.

Diff Detail

Event Timeline

Lewuathe created this revision.Jun 6 2022, 10:59 PM
Lewuathe requested review of this revision.Jun 6 2022, 10:59 PM
Lewuathe updated this revision to Diff 434696.Jun 6 2022, 10:59 PM

Apply format

Lewuathe edited the summary of this revision. (Show Details)Jun 6 2022, 11:01 PM
pifon2a accepted this revision.Jun 7 2022, 12:15 AM
pifon2a added inline comments.
mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
935

please, sort the patterns.

This revision is now accepted and ready to land.Jun 7 2022, 12:15 AM
This revision was automatically updated to reflect the committed changes.