# Exclude tests from libMLIR.so
add_mlir_library(MLIRFuncTestPasses
TestDecomposeCallGraphTypes.cpp
EXCLUDE_FROM_LIBMLIR
LINK_LIBS PUBLIC
MLIRAffineDialect
MLIRPass
MLIRFuncTransforms
MLIRTestDialect
MLIRTransformUtils
)
target_include_directories(MLIRFuncTestPasses
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/../Test
${CMAKE_CURRENT_BINARY_DIR}/../Test
)