llvm/mlir/test/lib/Conversion/ConvertToSPIRV/CMakeLists.txt

# Exclude tests from libMLIR.so
add_mlir_library(MLIRTestConvertToSPIRV
  TestSPIRVFuncSignatureConversion.cpp
  TestSPIRVVectorUnrolling.cpp

  EXCLUDE_FROM_LIBMLIR

  LINK_LIBS PUBLIC
  MLIRArithDialect
  MLIRFuncDialect
  MLIRPass
  MLIRSPIRVConversion
  MLIRSPIRVDialect
  MLIRTransformUtils
  MLIRTransforms
  MLIRVectorDialect
  MLIRVectorTransforms
  )