[Mlir-commits] [mlir] [mlir][spirv] Add a generic `convert-to-spirv` pass (PR #95942)
LLVM Continuous Integration
llvmlistbot at llvm.org
Fri Jun 21 09:41:42 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 5 "build-check-mlir-build-only".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/309
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
138.760 [780/16/3990] Creating library symlink lib/libMLIRSPIRVConversion.so
138.761 [779/16/3991] Creating library symlink lib/libMLIRSPIRVUtils.so
138.767 [778/16/3992] Creating library symlink lib/libMLIRVectorTransforms.so
138.771 [777/16/3993] Linking CXX shared library lib/libMLIRGPUToLLVMSPV.so.19.0git
138.846 [776/16/3994] Linking CXX shared library lib/libMLIRTransformDialectTransforms.so.19.0git
138.847 [775/16/3995] Linking CXX shared library lib/libMLIRUBToSPIRV.so.19.0git
138.856 [774/16/3996] Linking CXX shared library lib/libMLIRTransformPDLExtension.so.19.0git
138.857 [773/16/3997] Creating library symlink lib/libMLIRGPUToLLVMSPV.so
138.857 [772/16/3998] Linking CXX shared library lib/libMLIRControlFlowToSPIRV.so.19.0git
138.865 [771/16/3999] Linking CXX shared library lib/libMLIRConvertToSPIRVPass.so.19.0git
FAILED: lib/libMLIRConvertToSPIRVPass.so.19.0git
: && /usr/bin/clang++ -fPIC -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections -shared -Wl,-soname,libMLIRConvertToSPIRVPass.so.19.0git -o lib/libMLIRConvertToSPIRVPass.so.19.0git tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib:" lib/libMLIRSPIRVConversion.so.19.0git lib/libMLIRSPIRVDialect.so.19.0git lib/libMLIRParser.so.19.0git lib/libMLIRBytecodeReader.so.19.0git lib/libMLIRAsmParser.so.19.0git lib/libMLIRTransforms.so.19.0git lib/libMLIRCopyOpInterface.so.19.0git lib/libMLIRMemorySlotInterfaces.so.19.0git lib/libMLIRRuntimeVerifiableOpInterface.so.19.0git lib/libMLIRUBDialect.so.19.0git lib/libMLIRTransformUtils.so.19.0git lib/libMLIRRewrite.so.19.0git lib/libMLIRRewritePDL.so.19.0git lib/libMLIRPDLToPDLInterp.so.19.0git lib/libMLIRPass.so.19.0git lib/libMLIRPDLInterpDialect.so.19.0git lib/libMLIRPDLDialect.so.19.0git lib/libMLIRSubsetOpInterface.so.19.0git lib/libMLIRValueBoundsOpInterface.so.19.0git lib/libMLIRAnalysis.so.19.0git lib/libMLIRLoopLikeInterface.so.19.0git lib/libMLIRDataLayoutInterfaces.so.19.0git lib/libMLIRInferIntRangeInterface.so.19.0git lib/libMLIRPresburger.so.19.0git lib/libMLIRViewLikeInterface.so.19.0git lib/libMLIRDestinationStyleOpInterface.so.19.0git lib/libMLIRFuncDialect.so.19.0git lib/libMLIRSideEffectInterfaces.so.19.0git lib/libMLIRControlFlowInterfaces.so.19.0git lib/libMLIRFunctionInterfaces.so.19.0git lib/libMLIRCallInterfaces.so.19.0git lib/libMLIRInferTypeOpInterface.so.19.0git lib/libMLIRIR.so.19.0git lib/libMLIRSupport.so.19.0git -lpthread lib/libLLVMSupport.so.19.0git -Wl,-rpath-link,/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib && :
ld.lld: error: undefined symbol: mlir::ScfToSPIRVContext::ScfToSPIRVContext()
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::arith::populateCeilFloorDivExpandOpsPatterns(mlir::RewritePatternSet&)
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::arith::populateArithToSPIRVPatterns(mlir::SPIRVTypeConverter&, mlir::RewritePatternSet&)
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::populateFuncToSPIRVPatterns(mlir::SPIRVTypeConverter&, mlir::RewritePatternSet&)
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::index::populateIndexToSPIRVPatterns(mlir::SPIRVTypeConverter&, mlir::RewritePatternSet&)
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::populateVectorToSPIRVPatterns(mlir::SPIRVTypeConverter&, mlir::RewritePatternSet&)
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::populateSCFToSPIRVPatterns(mlir::SPIRVTypeConverter&, mlir::ScfToSPIRVContext&, mlir::RewritePatternSet&)
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::ub::populateUBToSPIRVConversionPatterns(mlir::SPIRVTypeConverter&, mlir::RewritePatternSet&)
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
ld.lld: error: undefined symbol: mlir::ScfToSPIRVContext::~ScfToSPIRVContext()
>>> referenced by ConvertToSPIRVPass.cpp
>>> tools/mlir/lib/Conversion/ConvertToSPIRV/CMakeFiles/obj.MLIRConvertToSPIRVPass.dir/ConvertToSPIRVPass.cpp.o:((anonymous namespace)::ConvertToSPIRVPass::runOnOperation())
clang: error: linker command failed with exit code 1 (use -v to see invocation)
138.869 [771/15/4000] Creating library symlink lib/libMLIRControlFlowToSPIRV.so
```
https://github.com/llvm/llvm-project/pull/95942
More information about the Mlir-commits
mailing list