[mlir] Fix build failure with BUILD_SHARED_LIBS=ON

/usr/bin/ld: tools/mlir/lib/Dialect/GPU/Pipelines/CMakeFiles/obj.MLIRGP
UPipelines.dir/GPUToXeVMPipeline.cpp.o: in function `mlir::gpu::buildLo
werToXeVMPassPipeline(mlir::OpPassManager&, mlir::gpu::GPUToXeVMPipelin
eOptions const&)':
GPUToXeVMPipeline.cpp:(.text._ZN4mlir3gpu28buildLowerToXeVMPassPipeline
ERNS_13OpPassManagerERKNS0_24GPUToXeVMPipelineOptionsE+0x1293): undefin
ed reference to `mlir::createConvertVectorToLLVMPass()'
This commit is contained in:
Krzysztof Parzyszek
2025-11-25 13:03:33 -06:00
parent eab23e199a
commit ebe4006654

View File

@@ -21,6 +21,7 @@ add_mlir_dialect_library(MLIRGPUPipelines
MLIRNVVMToLLVM
MLIRReconcileUnrealizedCasts
MLIRSCFToControlFlow
MLIRVectorToLLVMPass
MLIRVectorToSCF
MLIRXeGPUTransforms
MLIRXeGPUToXeVM