[all-commits] [llvm/llvm-project] 1935f8: [mlir][complex] Add complex-range option and selec...

s-watanabe314 via All-commits all-commits at lists.llvm.org
Thu Feb 13 04:06:27 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1935f84856a9297e725770e6f4b9c50fbcec365c
      https://github.com/llvm/llvm-project/commit/1935f84856a9297e725770e6f4b9c50fbcec365c
  Author: s-watanabe314 <watanabe.shu-06 at fujitsu.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    A mlir/include/mlir/Conversion/ComplexCommon/DivisionConverter.h
    M mlir/include/mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h
    M mlir/include/mlir/Conversion/ComplexToStandard/ComplexToStandard.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Complex/IR/Complex.h
    M mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/ComplexCommon/CMakeLists.txt
    A mlir/lib/Conversion/ComplexCommon/DivisionConverter.cpp
    M mlir/lib/Conversion/ComplexToLLVM/CMakeLists.txt
    M mlir/lib/Conversion/ComplexToLLVM/ComplexToLLVM.cpp
    M mlir/lib/Conversion/ComplexToStandard/CMakeLists.txt
    M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
    A mlir/test/Conversion/ComplexToLLVM/complex-range-option.mlir
    M mlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
    M mlir/test/Conversion/ComplexToLLVM/full-conversion.mlir
    A mlir/test/Conversion/ComplexToStandard/complex-range-option.mlir

  Log Message:
  -----------
  [mlir][complex] Add complex-range option and select complex division … (#127010)

…algorithm

This patch adds the `complex-range` option and two calculation methods
for complex number division (algebraic method and Smith's algorithm) to
both the `ComplexToLLVM` and `ComplexToStandard` passes, allowing the
calculation method to be controlled by the option.

See also the discussion in the following discourse post.


https://discourse.llvm.org/t/question-and-proposal-regarding-complex-number-division-algorithm-in-the-complex-dialect/83772



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list