[all-commits] [llvm/llvm-project] f0ceba: Revert "[mlir][Conversion] Implement ConvertToLLVM...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Aug 9 01:00:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0ceba8be63577d48bebf45aa8e91fb4fd9b7a54
      https://github.com/llvm/llvm-project/commit/f0ceba8be63577d48bebf45aa8e91fb4fd9b7a54
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/ArithToLLVM/ArithToLLVM.h
    M mlir/include/mlir/Conversion/AsyncToLLVM/AsyncToLLVM.h
    M mlir/include/mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h
    M mlir/include/mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h
    M mlir/include/mlir/InitAllExtensions.h
    M mlir/lib/Conversion/ArithToLLVM/ArithToLLVM.cpp
    M mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
    M mlir/lib/Conversion/ComplexToLLVM/ComplexToLLVM.cpp
    M mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp
    M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
    M mlir/test/Conversion/AsyncToLLVM/convert-to-llvm.mlir
    M mlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
    M mlir/test/Conversion/ControlFlowToLLVM/assert.mlir

  Log Message:
  -----------
  Revert "[mlir][Conversion] Implement ConvertToLLVMPatternInterface (1)"

This reverts commit 52aa6bd3fd6f48f583beaadcbb53edc0f3def4a1.

async-to-llvm needs special handling as it uses the type converter in a
different way.


  Commit: c4769ef59c07bcb8c1ab0d9c0fe6e9ef319ffa6a
      https://github.com/llvm/llvm-project/commit/c4769ef59c07bcb8c1ab0d9c0fe6e9ef319ffa6a
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/ArithToLLVM/ArithToLLVM.h
    M mlir/include/mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h
    M mlir/include/mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h
    M mlir/include/mlir/InitAllExtensions.h
    M mlir/lib/Conversion/ArithToLLVM/ArithToLLVM.cpp
    M mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
    M mlir/lib/Conversion/ComplexToLLVM/ComplexToLLVM.cpp
    M mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp
    M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
    M mlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
    M mlir/test/Conversion/ControlFlowToLLVM/assert.mlir

  Log Message:
  -----------
  [mlir][Conversion] Re-submit: Implement ConvertToLLVMPatternInterface (1)

This is a resubmit of the original D157391 change, which was reverted
because it needed special handling for the async dialect. (I removed it
from this change.)

Implement ConvertToLLVMPatternInterface for more dialects: arith,
complex, cf.

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


Compare: https://github.com/llvm/llvm-project/compare/9d116b4b1253...c4769ef59c07


More information about the All-commits mailing list