[all-commits] [llvm/llvm-project] d6be27: [mlir] turn complex-to-llvm into a partial conversion

ftynse via All-commits all-commits at lists.llvm.org
Thu Jan 28 10:18:34 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d6be27734764ec9718b4206c4b77dfac6c67b1d8
      https://github.com/llvm/llvm-project/commit/d6be27734764ec9718b4206c4b77dfac6c67b1d8
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M mlir/lib/Conversion/ComplexToLLVM/ComplexToLLVM.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
    A mlir/test/Conversion/ComplexToLLVM/full-conversion.mlir
    M mlir/test/Dialect/LLVMIR/dialect-cast.mlir

  Log Message:
  -----------
  [mlir] turn complex-to-llvm into a partial conversion

It is no longer necessary to also convert other "standard" ops along with the
complex dialect: the element types are now built-in integers or floating point
types, and the top-level cast between complex and struct is automatically
inserted and removed in progressive lowering.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D95625




More information about the All-commits mailing list