[Mlir-commits] [mlir] [MLIR][Dialect] Add XeVM dialect (PR #144811)

LLVM Continuous Integration llvmlistbot at llvm.org
Fri Jul 4 05:53:41 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `amdgpu-offload-rhel-9-cmake-build-only` running on `rocm-docker-rhel-9` while building `mlir` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/205/builds/14367

<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)
...
[6850/7914] Creating library symlink lib/libclangStaticAnalyzerFrontend.so
[6851/7914] Linking CXX shared library lib/libclangFrontendTool.so.21.0git
[6852/7914] Creating library symlink lib/libclangFrontendTool.so
[6853/7914] Linking CXX shared module lib/SampleAnalyzerPlugin.so
[6854/7914] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
[6855/7914] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
[6856/7914] Building CXX object tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o
[6857/7914] Linking CXX shared library lib/libclangInterpreter.so.21.0git
[6858/7914] Creating library symlink lib/libclangInterpreter.so
[6859/7914] Linking CXX shared library lib/libMLIRXeVMDialect.so.21.0git
FAILED: lib/libMLIRXeVMDialect.so.21.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-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-rhel-9-cmake-build-only/build/./lib  -Wl,--gc-sections -shared -Wl,-soname,libMLIRXeVMDialect.so.21.0git -o lib/libMLIRXeVMDialect.so.21.0git tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:"  lib/libMLIRLLVMDialect.so.21.0git  lib/libMLIRSideEffectInterfaces.so.21.0git  lib/libMLIRControlFlowInterfaces.so.21.0git  lib/libMLIRDataLayoutInterfaces.so.21.0git  lib/libMLIRFunctionInterfaces.so.21.0git  lib/libMLIRCallInterfaces.so.21.0git  lib/libMLIRInferTypeOpInterface.so.21.0git  lib/libMLIRMemorySlotInterfaces.so.21.0git  lib/libMLIRIR.so.21.0git  lib/libMLIRSupport.so.21.0git  lib/libLLVMBitWriter.so.21.0git  lib/libLLVMAsmParser.so.21.0git  lib/libLLVMBitReader.so.21.0git  lib/libLLVMCore.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o: in function `llvm::LogicalResult (anonymous namespace)::verifyMatrixInput<mlir::xevm::BlockLoad2dOp>(mlir::xevm::BlockLoad2dOp)':
XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm13BlockLoad2dOpEEEN4llvm13LogicalResultET_+0x55): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm13BlockLoad2dOpEEEN4llvm13LogicalResultET_+0xa4): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o: in function `llvm::LogicalResult (anonymous namespace)::verifyMatrixInput<mlir::xevm::BlockPrefetch2dOp>(mlir::xevm::BlockPrefetch2dOp)':
XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm17BlockPrefetch2dOpEEEN4llvm13LogicalResultET_+0x55): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm17BlockPrefetch2dOpEEEN4llvm13LogicalResultET_+0xa4): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o: in function `llvm::LogicalResult (anonymous namespace)::verifyMatrixInput<mlir::xevm::BlockStore2dOp>(mlir::xevm::BlockStore2dOp)':
XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm14BlockStore2dOpEEEN4llvm13LogicalResultET_+0x55): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o:XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm14BlockStore2dOpEEEN4llvm13LogicalResultET_+0xa4): more undefined references to `mlir::getConstantIntValue(mlir::OpFoldResult)' follow
collect2: error: ld returned 1 exit status
[6860/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/logical.test.dir/logical.cpp.o
[6861/7914] Building CXX object tools/flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeFiles/CUFAttrs.dir/CUFAttr.cpp.o
[6862/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/real.test.dir/real.cpp.o
[6863/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/integer.test.dir/integer.cpp.o
[6864/7914] Building InstCombineTables.inc...
[6865/7914] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/OpenMP-utils.cpp.o
[6866/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/intrinsics.test.dir/intrinsics.cpp.o
[6867/7914] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.gch
[6868/7914] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/cmake_pch.hxx.gch
[6869/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/folding.test.dir/folding.cpp.o
[6870/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/expression.test.dir/expression.cpp.o
[6871/7914] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/cmake_pch.hxx.gch
[6872/7914] Building CXX object tools/flang/tools/f18-parse-demo/CMakeFiles/f18-parse-demo.dir/f18-parse-demo.cpp.o
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
    yield
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
    run_command(["ninja"])
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
Step 7 (build cmake config) failure: build cmake config (failure)
...
[6850/7914] Creating library symlink lib/libclangStaticAnalyzerFrontend.so
[6851/7914] Linking CXX shared library lib/libclangFrontendTool.so.21.0git
[6852/7914] Creating library symlink lib/libclangFrontendTool.so
[6853/7914] Linking CXX shared module lib/SampleAnalyzerPlugin.so
[6854/7914] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
[6855/7914] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
[6856/7914] Building CXX object tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o
[6857/7914] Linking CXX shared library lib/libclangInterpreter.so.21.0git
[6858/7914] Creating library symlink lib/libclangInterpreter.so
[6859/7914] Linking CXX shared library lib/libMLIRXeVMDialect.so.21.0git
FAILED: lib/libMLIRXeVMDialect.so.21.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-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-rhel-9-cmake-build-only/build/./lib  -Wl,--gc-sections -shared -Wl,-soname,libMLIRXeVMDialect.so.21.0git -o lib/libMLIRXeVMDialect.so.21.0git tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:"  lib/libMLIRLLVMDialect.so.21.0git  lib/libMLIRSideEffectInterfaces.so.21.0git  lib/libMLIRControlFlowInterfaces.so.21.0git  lib/libMLIRDataLayoutInterfaces.so.21.0git  lib/libMLIRFunctionInterfaces.so.21.0git  lib/libMLIRCallInterfaces.so.21.0git  lib/libMLIRInferTypeOpInterface.so.21.0git  lib/libMLIRMemorySlotInterfaces.so.21.0git  lib/libMLIRIR.so.21.0git  lib/libMLIRSupport.so.21.0git  lib/libLLVMBitWriter.so.21.0git  lib/libLLVMAsmParser.so.21.0git  lib/libLLVMBitReader.so.21.0git  lib/libLLVMCore.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o: in function `llvm::LogicalResult (anonymous namespace)::verifyMatrixInput<mlir::xevm::BlockLoad2dOp>(mlir::xevm::BlockLoad2dOp)':
XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm13BlockLoad2dOpEEEN4llvm13LogicalResultET_+0x55): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm13BlockLoad2dOpEEEN4llvm13LogicalResultET_+0xa4): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o: in function `llvm::LogicalResult (anonymous namespace)::verifyMatrixInput<mlir::xevm::BlockPrefetch2dOp>(mlir::xevm::BlockPrefetch2dOp)':
XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm17BlockPrefetch2dOpEEEN4llvm13LogicalResultET_+0x55): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm17BlockPrefetch2dOpEEEN4llvm13LogicalResultET_+0xa4): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o: in function `llvm::LogicalResult (anonymous namespace)::verifyMatrixInput<mlir::xevm::BlockStore2dOp>(mlir::xevm::BlockStore2dOp)':
XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm14BlockStore2dOpEEEN4llvm13LogicalResultET_+0x55): undefined reference to `mlir::getConstantIntValue(mlir::OpFoldResult)'
/usr/bin/ld: tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRXeVMDialect.dir/IR/XeVMDialect.cpp.o:XeVMDialect.cpp:(.text._ZN12_GLOBAL__N_117verifyMatrixInputIN4mlir4xevm14BlockStore2dOpEEEN4llvm13LogicalResultET_+0xa4): more undefined references to `mlir::getConstantIntValue(mlir::OpFoldResult)' follow
collect2: error: ld returned 1 exit status
[6860/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/logical.test.dir/logical.cpp.o
[6861/7914] Building CXX object tools/flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeFiles/CUFAttrs.dir/CUFAttr.cpp.o
[6862/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/real.test.dir/real.cpp.o
[6863/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/integer.test.dir/integer.cpp.o
[6864/7914] Building InstCombineTables.inc...
[6865/7914] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/OpenMP-utils.cpp.o
[6866/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/intrinsics.test.dir/intrinsics.cpp.o
[6867/7914] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.gch
[6868/7914] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/cmake_pch.hxx.gch
[6869/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/folding.test.dir/folding.cpp.o
[6870/7914] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/expression.test.dir/expression.cpp.o
[6871/7914] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/cmake_pch.hxx.gch
[6872/7914] Building CXX object tools/flang/tools/f18-parse-demo/CMakeFiles/f18-parse-demo.dir/f18-parse-demo.cpp.o
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
    yield
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
    run_command(["ninja"])
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)

```

</details>

https://github.com/llvm/llvm-project/pull/144811


More information about the Mlir-commits mailing list