[all-commits] [llvm/llvm-project] 8446f2: [mlir][llvm] Tablegen based operation import from ...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Wed Oct 12 04:41:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8446f24ef03928f511ab59dae17a8aa581b0ab62
https://github.com/llvm/llvm-project/commit/8446f24ef03928f511ab59dae17a8aa581b0ab62
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
M mlir/test/Target/LLVMIR/Import/basic.ll
A mlir/test/Target/LLVMIR/Import/instructions.ll
M mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp
Log Message:
-----------
[mlir][llvm] Tablegen based operation import from LLVM IR.
The revision uses tablegen generated builders to convert the most common
LLVM IR instructions to MLIR LLVM dialect operations. All instructions
with special handlers, except for alloca and fence, still use manual
handlers. The revision also introduces an additional "instructions.ll"
test file to test the import of instructions that have tablegen builders
(except for the resume instruction whose test remains untouched). A part
of the test cases are new, for example the integer instruction test,
while others are migrated from the "basic.ll" test file.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D135709
More information about the All-commits
mailing list