Jeff Niu cae746d9c4 [mlir][index] Add convert-index-to-llvm pass
This patch adds a lowering pass to convert `index` dialect ops to LLVM.

Depends on D135694

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D135697
2022-10-21 09:46:19 -07:00

18 lines
295 B
CMake

add_mlir_conversion_library(MLIRIndexToLLVM
IndexToLLVM.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/IndexToLLVM
DEPENDS
MLIRConversionPassIncGen
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRIndexDialect
MLIRLLVMCommonConversion
MLIRLLVMDialect
)