[all-commits] [llvm/llvm-project] cc4fb5: [mlir] support complex type in DenseElementsAttr::...

Xiang Li via All-commits all-commits at lists.llvm.org
Mon Feb 13 06:41:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc4fb5837647d913e1c1df5ff398be2896ea6d07
      https://github.com/llvm/llvm-project/commit/cc4fb5837647d913e1c1df5ff398be2896ea6d07
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Complex/IR/ComplexOps.cpp
    M mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir] support complex type in DenseElementsAttr::get.

Fixes #60662 https://github.com/llvm/llvm-project/issues/60662

Allow ComplexType when create DenseElementsAttr.
Also allow build ConstantOp for integer complex.

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




More information about the All-commits mailing list