[Mlir-commits] [mlir] [mlir][math] Add vector support for math-to-apfloat (PR #172715)
LLVM Continuous Integration
llvmlistbot at llvm.org
Fri Jan 16 13:06:00 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `amdgpu-offload-ubuntu-22-cmake-build-only` running on `rocm-docker-ubu-22` while building `mlir` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/203/builds/34447
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[5159/8429] Linking CXX shared library lib/libMLIRArithToEmitC.so.23.0git
[5160/8429] Linking CXX shared library lib/libLLVMMCJIT.so.23.0git
[5161/8429] Linking CXX shared library lib/libMLIRROCDLDialect.so.23.0git
[5162/8429] Linking CXX shared library lib/libMLIRBufferizationDialect.so.23.0git
[5163/8429] Linking CXX shared library lib/libMLIRSCFDialect.so.23.0git
[5164/8429] Linking CXX shared library lib/libMLIRCAPIIRDL.so.23.0git
[5165/8429] Linking CXX shared library lib/libMLIRCAPIComplex.so.23.0git
[5166/8429] Linking CXX shared library lib/libMLIRCAPIUB.so.23.0git
[5167/8429] Creating library symlink lib/libLLVMMCJIT.so
[5168/8429] Linking CXX shared library lib/libMLIRArithAndMathToAPFloatUtils.so.23.0git
FAILED: lib/libMLIRArithAndMathToAPFloatUtils.so.23.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -Wno-deprecated-copy -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRArithAndMathToAPFloatUtils.so.23.0git -o lib/libMLIRArithAndMathToAPFloatUtils.so.23.0git tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithAndMathToAPFloatUtils.dir/Utils.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:" lib/libMLIRArithDialect.so.23.0git lib/libMLIRCastInterfaces.so.23.0git lib/libMLIRDialect.so.23.0git lib/libMLIRInferIntRangeCommon.so.23.0git lib/libMLIRShapedOpInterfaces.so.23.0git lib/libMLIRInferIntRangeInterface.so.23.0git lib/libMLIRInferTypeOpInterface.so.23.0git lib/libMLIRUBDialect.so.23.0git lib/libMLIRIR.so.23.0git lib/libMLIRSupport.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithAndMathToAPFloatUtils.dir/Utils.cpp.o: in function `mlir::forEachScalarValue(mlir::RewriterBase&, mlir::Location, mlir::Value, mlir::Value, mlir::Type, llvm::function_ref<mlir::Value (mlir::Value, mlir::Value, mlir::Type)>)':
Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0xe7): undefined reference to `mlir::vector::ToElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Value)'
/usr/bin/ld: Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0x136): undefined reference to `mlir::vector::ToElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Value)'
/usr/bin/ld: Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0x249): undefined reference to `mlir::vector::ToElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Value)'
/usr/bin/ld: Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0x486): undefined reference to `mlir::vector::FromElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Type, mlir::ValueRange)'
collect2: error: ld returned 1 exit status
[5169/8429] Linking CXX shared library lib/libMLIRTensorUtils.so.23.0git
[5170/8429] Linking CXX shared library lib/libMLIRCAPIDLTI.so.23.0git
[5171/8429] Creating library symlink lib/libMLIRArithToEmitC.so
[5172/8429] Creating library symlink lib/libMLIRTensorInferTypeOpInterfaceImpl.so
[5173/8429] Linking CXX shared library lib/libLLVMFrontendOffloading.so.23.0git
[5174/8429] Linking CXX shared library lib/libLLVMAggressiveInstCombine.so.23.0git
[5175/8429] Linking CXX shared library lib/libMLIRShapeDialect.so.23.0git
[5176/8429] Linking CXX shared library lib/libLLVMHipStdPar.so.23.0git
[5177/8429] Linking CXX shared library lib/libLLVMLinker.so.23.0git
[5178/8429] Linking CXX shared library lib/libLLVMSPIRVAnalysis.so.23.0git
[5179/8429] Linking CXX shared library lib/libLLVMObjCARCOpts.so.23.0git
[5180/8429] Linking CXX shared library lib/libLLVMInstCombine.so.23.0git
[5181/8429] Linking CXX shared library lib/libLLVMInstrumentation.so.23.0git
[5182/8429] Linking CXX shared library lib/libMLIRTransformDialect.so.23.0git
[5183/8429] Linking CXX shared library lib/libMLIROpenACCDialect.so.23.0git
[5184/8429] Linking CXX shared library lib/libMLIRVectorDialect.so.23.0git
[5185/8429] Linking CXX shared library lib/libLLVMVectorize.so.23.0git
[5186/8429] Linking CXX shared library lib/libMLIRTosaDialect.so.23.0git
[5187/8429] Linking CXX shared library lib/libMLIRNVVMDialect.so.23.0git
[5188/8429] Building AMDGPUGenSearchableTables.inc...
[5189/8429] Linking CXX shared library lib/libMLIRSPIRVDialect.so.23.0git
[5190/8429] Building CXX object tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithToAPFloat.dir/ArithToAPFloat.cpp.o
[5191/8429] Building CXX object tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRMathToAPFloat.dir/MathToAPFloat.cpp.o
[5192/8429] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[5193/8429] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[5194/8429] Building AMDGPUGenCallingConv.inc...
[5195/8429] Building AMDGPUGenAsmWriter.inc...
[5196/8429] Building AMDGPUGenDAGISel.inc...
[5197/8429] Building AMDGPUGenInstrInfo.inc...
[5198/8429] Building AMDGPUGenGlobalISel.inc...
[5199/8429] Building AMDGPUGenRegisterInfo.inc...
Step 7 (build cmake config) failure: build cmake config (failure)
...
[5159/8429] Linking CXX shared library lib/libMLIRArithToEmitC.so.23.0git
[5160/8429] Linking CXX shared library lib/libLLVMMCJIT.so.23.0git
[5161/8429] Linking CXX shared library lib/libMLIRROCDLDialect.so.23.0git
[5162/8429] Linking CXX shared library lib/libMLIRBufferizationDialect.so.23.0git
[5163/8429] Linking CXX shared library lib/libMLIRSCFDialect.so.23.0git
[5164/8429] Linking CXX shared library lib/libMLIRCAPIIRDL.so.23.0git
[5165/8429] Linking CXX shared library lib/libMLIRCAPIComplex.so.23.0git
[5166/8429] Linking CXX shared library lib/libMLIRCAPIUB.so.23.0git
[5167/8429] Creating library symlink lib/libLLVMMCJIT.so
[5168/8429] Linking CXX shared library lib/libMLIRArithAndMathToAPFloatUtils.so.23.0git
FAILED: lib/libMLIRArithAndMathToAPFloatUtils.so.23.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -Wno-deprecated-copy -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRArithAndMathToAPFloatUtils.so.23.0git -o lib/libMLIRArithAndMathToAPFloatUtils.so.23.0git tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithAndMathToAPFloatUtils.dir/Utils.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:" lib/libMLIRArithDialect.so.23.0git lib/libMLIRCastInterfaces.so.23.0git lib/libMLIRDialect.so.23.0git lib/libMLIRInferIntRangeCommon.so.23.0git lib/libMLIRShapedOpInterfaces.so.23.0git lib/libMLIRInferIntRangeInterface.so.23.0git lib/libMLIRInferTypeOpInterface.so.23.0git lib/libMLIRUBDialect.so.23.0git lib/libMLIRIR.so.23.0git lib/libMLIRSupport.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithAndMathToAPFloatUtils.dir/Utils.cpp.o: in function `mlir::forEachScalarValue(mlir::RewriterBase&, mlir::Location, mlir::Value, mlir::Value, mlir::Type, llvm::function_ref<mlir::Value (mlir::Value, mlir::Value, mlir::Type)>)':
Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0xe7): undefined reference to `mlir::vector::ToElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Value)'
/usr/bin/ld: Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0x136): undefined reference to `mlir::vector::ToElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Value)'
/usr/bin/ld: Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0x249): undefined reference to `mlir::vector::ToElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Value)'
/usr/bin/ld: Utils.cpp:(.text._ZN4mlir18forEachScalarValueERNS_12RewriterBaseENS_8LocationENS_5ValueES3_NS_4TypeEN4llvm12function_refIFS3_S3_S3_S4_EEE+0x486): undefined reference to `mlir::vector::FromElementsOp::create(mlir::OpBuilder&, mlir::Location, mlir::Type, mlir::ValueRange)'
collect2: error: ld returned 1 exit status
[5169/8429] Linking CXX shared library lib/libMLIRTensorUtils.so.23.0git
[5170/8429] Linking CXX shared library lib/libMLIRCAPIDLTI.so.23.0git
[5171/8429] Creating library symlink lib/libMLIRArithToEmitC.so
[5172/8429] Creating library symlink lib/libMLIRTensorInferTypeOpInterfaceImpl.so
[5173/8429] Linking CXX shared library lib/libLLVMFrontendOffloading.so.23.0git
[5174/8429] Linking CXX shared library lib/libLLVMAggressiveInstCombine.so.23.0git
[5175/8429] Linking CXX shared library lib/libMLIRShapeDialect.so.23.0git
[5176/8429] Linking CXX shared library lib/libLLVMHipStdPar.so.23.0git
[5177/8429] Linking CXX shared library lib/libLLVMLinker.so.23.0git
[5178/8429] Linking CXX shared library lib/libLLVMSPIRVAnalysis.so.23.0git
[5179/8429] Linking CXX shared library lib/libLLVMObjCARCOpts.so.23.0git
[5180/8429] Linking CXX shared library lib/libLLVMInstCombine.so.23.0git
[5181/8429] Linking CXX shared library lib/libLLVMInstrumentation.so.23.0git
[5182/8429] Linking CXX shared library lib/libMLIRTransformDialect.so.23.0git
[5183/8429] Linking CXX shared library lib/libMLIROpenACCDialect.so.23.0git
[5184/8429] Linking CXX shared library lib/libMLIRVectorDialect.so.23.0git
[5185/8429] Linking CXX shared library lib/libLLVMVectorize.so.23.0git
[5186/8429] Linking CXX shared library lib/libMLIRTosaDialect.so.23.0git
[5187/8429] Linking CXX shared library lib/libMLIRNVVMDialect.so.23.0git
[5188/8429] Building AMDGPUGenSearchableTables.inc...
[5189/8429] Linking CXX shared library lib/libMLIRSPIRVDialect.so.23.0git
[5190/8429] Building CXX object tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithToAPFloat.dir/ArithToAPFloat.cpp.o
[5191/8429] Building CXX object tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRMathToAPFloat.dir/MathToAPFloat.cpp.o
[5192/8429] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[5193/8429] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[5194/8429] Building AMDGPUGenCallingConv.inc...
[5195/8429] Building AMDGPUGenAsmWriter.inc...
[5196/8429] Building AMDGPUGenDAGISel.inc...
[5197/8429] Building AMDGPUGenInstrInfo.inc...
[5198/8429] Building AMDGPUGenGlobalISel.inc...
[5199/8429] Building AMDGPUGenRegisterInfo.inc...
```
</details>
https://github.com/llvm/llvm-project/pull/172715
More information about the Mlir-commits
mailing list