We can canonicalize consecutive complex.exp and complex.log which are inverse functions each other.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D128966  
[mlir][complex] Inverse canonicalization between exp and log ClosedPublic Authored by Lewuathe on Jun 30 2022, 11:10 PM. 
Details Summary We can canonicalize consecutive complex.exp and complex.log which are inverse functions each other. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jul 1 2022, 1:20 PM Closed by commit rG5148c685e3bb: [mlir][complex] Inverse canonicalization between exp and log (authored by Lewuathe).  ·  Explain WhyJul 2 2022, 5:37 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 441592 mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
 mlir/lib/Dialect/Complex/IR/ComplexOps.cpp
 mlir/test/Dialect/Complex/canonicalize.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||