Add complex ops without removing them from Standard dialect yet.
https://llvm.discourse.group/t/rfc-split-the-complex-dialect-from-std/2496/2
Paths
| Differential D94764
[mlir] Add Complex dialect. ClosedPublic Authored by pifon2a on Jan 15 2021, 4:25 AM.
Details
Summary Add complex ops without removing them from Standard dialect yet. https://llvm.discourse.group/t/rfc-split-the-complex-dialect-from-std/2496/2
Diff Detail
Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 15 others. · View Herald TranscriptJan 15 2021, 4:25 AM Comment Actions This also adds the lowering to LLVM. Maybe mention this in the commit message or split it out.
This revision is now accepted and ready to land.Jan 15 2021, 7:08 AM This revision was landed with ongoing or failed builds.Jan 15 2021, 11:03 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 317026 mlir/include/mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h
mlir/include/mlir/Conversion/Passes.h
mlir/include/mlir/Conversion/Passes.td
mlir/include/mlir/Dialect/CMakeLists.txt
mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt
mlir/include/mlir/Dialect/Complex/IR/Complex.h
mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
mlir/include/mlir/InitAllDialects.h
mlir/lib/Conversion/CMakeLists.txt
mlir/lib/Conversion/ComplexToLLVM/CMakeLists.txt
mlir/lib/Conversion/ComplexToLLVM/ComplexToLLVM.cpp
mlir/lib/Conversion/PassDetail.h
mlir/lib/Dialect/CMakeLists.txt
mlir/lib/Dialect/Complex/IR/CMakeLists.txt
mlir/lib/Dialect/Complex/IR/ComplexDialect.cpp
mlir/lib/Dialect/Complex/IR/ComplexOps.cpp
mlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
mlir/test/Dialect/Complex/ops.mlir
mlir/test/mlir-opt/commandline.mlir
|
nit: space