[all-commits] [llvm/llvm-project] 26e59c: [mlir] factor math-to-llvm out of standard-to-llvm

ftynse via All-commits all-commits at lists.llvm.org
Mon Jul 12 02:09:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26e59cc19f8646ca59e2d699882c611980f2b563
      https://github.com/llvm/llvm-project/commit/26e59cc19f8646ca59e2d699882c611980f2b563
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    A mlir/include/mlir/Conversion/MathToLLVM/MathToLLVM.h
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/MathToLLVM/CMakeLists.txt
    A mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/test/Conversion/ComplexToStandard/full-conversion.mlir
    A mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
    M mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir

  Log Message:
  -----------
  [mlir] factor math-to-llvm out of standard-to-llvm

After the Math has been split out of the Standard dialect, the
conversion to the LLVM dialect remained as a huge monolithic pass.
This is undesirable for the same complexity management reasons as having
a huge Standard dialect itself, and is even more confusing given the
existence of a separate dialect. Extract the conversion of the Math
dialect operations to LLVM into a separate library and a separate
conversion pass.

Reviewed By: silvas

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




More information about the All-commits mailing list