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
16 lines
286 B
CMake
16 lines
286 B
CMake
add_mlir_dialect_library(MLIRControlFlow
|
|
ControlFlowOps.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/ControlFlow/IR
|
|
|
|
DEPENDS
|
|
MLIRControlFlowOpsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithmetic
|
|
MLIRControlFlowInterfaces
|
|
MLIRIR
|
|
MLIRSideEffectInterfaces
|
|
)
|