[all-commits] [llvm/llvm-project] 5caa94: [mlir][complex] Custom attribute comlex.number.

Kai Sasaki via All-commits all-commits at lists.llvm.org
Wed Jul 27 06:16:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5caa941f683270c3e5078ec46f208212b565c505
      https://github.com/llvm/llvm-project/commit/5caa941f683270c3e5078ec46f208212b565c505
  Author: lewuathe <lewuathe at me.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Complex/IR/Complex.h
    A mlir/include/mlir/Dialect/Complex/IR/ComplexAttributes.td
    M mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
    M mlir/lib/Dialect/Complex/IR/CMakeLists.txt
    M mlir/lib/Dialect/Complex/IR/ComplexDialect.cpp
    A mlir/test/Dialect/Complex/attribute.mlir

  Log Message:
  -----------
  [mlir][complex] Custom attribute comlex.number.

Add custom attribute for complex dialect. Although this commit does not have significant impact on the conversion framework, it will lead us to construct complex numbers in a readable and tidy manner.

Related discussion: https://reviews.llvm.org/D127476

Reviewed By: pifon2a, akuegel

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




More information about the All-commits mailing list