This dialect is intended to model lower level/branch based control-flow constructs. The initial set of operations are: AssertOp, BranchOp, CondBranchOp, SwitchOp; all split out from the current standard dialect. See https://discourse.llvm.org/t/standard-dialect-the-final-chapter/6061 Differential Revision: https://reviews.llvm.org/D118966
22 lines
371 B
CMake
22 lines
371 B
CMake
add_mlir_conversion_library(MLIRControlFlowToLLVM
|
|
ControlFlowToLLVM.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/ControlFlowToLLVM
|
|
|
|
DEPENDS
|
|
MLIRConversionPassIncGen
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRAnalysis
|
|
MLIRControlFlow
|
|
MLIRLLVMCommonConversion
|
|
MLIRLLVMIR
|
|
MLIRPass
|
|
MLIRTransformUtils
|
|
)
|