[PATCH] D79159: [MLIR] Add complex numbers to standard dialect

Frederik Gossen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 02:07:07 PDT 2020


frgossen created this revision.
Herald added subscribers: llvm-commits, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: ftynse.
Herald added a project: LLVM.
frgossen added reviewers: pifon2a, herhut.

Add `CreateComplexOp`, `ReOp`, and `ImOp` to the standard dialect.
This is the first step to support complex numbers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79159

Files:
  mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
  mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
  mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
  mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
  mlir/lib/Dialect/StandardOps/IR/Ops.cpp
  mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
  mlir/test/IR/core-ops.mlir
  mlir/test/mlir-cpu-runner/complex_numbers.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79159.261148.patch
Type: text/x-patch
Size: 17883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200430/f3fb5785/attachment.bin>


More information about the llvm-commits mailing list