[all-commits] [llvm/llvm-project] 1fdbbd: [mlir][Conversion] Implement ConvertToLLVMPatternI...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Aug 11 01:05:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1fdbbd158dc98d1d036c9e9e231eec36897e0c1c
https://github.com/llvm/llvm-project/commit/1fdbbd158dc98d1d036c9e9e231eec36897e0c1c
Author: Matthias Springer <me at m-sp.org>
Date: 2023-08-11 (Fri, 11 Aug 2023)
Changed paths:
M mlir/include/mlir/Conversion/ConvertToLLVM/ToLLVMPass.h
M mlir/include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/include/mlir/InitAllExtensions.h
M mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp
M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.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
M mlir/test/Conversion/FuncToLLVM/func-to-llvm.mlir
M mlir/test/Conversion/IndexToLLVM/index-to-llvm.mlir
M mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
M mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
M mlir/test/Conversion/UBToLLVM/ub-to-llvm.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Conversion] Implement ConvertToLLVMPatternInterface for FuncDialect
Also a new pass option `ConvertToLLVMPass` to populate only patterns from the specified dialects. This is needed because the existing test cases expect that only ops from certain dialects are lowered. (E.g., "arith-to-llvm" expects that only "arith" ops are lowered but not "func" ops.)
Differential Revision: https://reviews.llvm.org/D157627
More information about the All-commits
mailing list