The Func has a large number of legacy dependencies carried over from the old Standard dialect, which was pervasive and contained a large number of varied operations. With the split of the standard dialect and its demise, a lot of lingering dead dependencies have survived to the Func dialect. This commit removes a large majority of then, greatly reducing the dependence surface area of the Func dialect.
21 lines
332 B
CMake
21 lines
332 B
CMake
add_mlir_dialect_library(MLIRSCF
|
|
SCF.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/LoopOps
|
|
|
|
DEPENDS
|
|
MLIRSCFOpsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithmetic
|
|
MLIRBufferization
|
|
MLIRControlFlow
|
|
MLIRIR
|
|
MLIRLoopLikeInterface
|
|
MLIRSideEffectInterfaces
|
|
)
|
|
|
|
add_subdirectory(Transforms)
|
|
add_subdirectory(Utils)
|