[Mlir-commits] [mlir] [MLIR][Math][XeVM] Add MathToXeVM (`math-to-xevm`) pass (PR #159878)

LLVM Continuous Integration llvmlistbot at llvm.org
Fri Oct 10 14:22:31 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ppc64le-mlir-rhel-clang` running on `ppc64le-mlir-rhel-test` while building `mlir` at step 6 "test-build-check-mlir-build-only-check-mlir".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Conversion/MathToXeVM/native-spirv-builtins.mlir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/bin/mlir-opt /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir -gpu-module-to-binary="format=isa"              -debug-only=serialize-to-isa 2> /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/tools/mlir/test/Conversion/MathToXeVM/Output/native-spirv-builtins.mlir.tmp
# executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/bin/mlir-opt /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir -gpu-module-to-binary=format=isa -debug-only=serialize-to-isa
# .---redirected output from '/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/tools/mlir/test/Conversion/MathToXeVM/Output/native-spirv-builtins.mlir.tmp'
# | /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir:14:3: error: Cannot run `TargetRegistry::lookupTarget()` for SPIRV without having the target built.
# |   gpu.module @kernel [#xevm.target] {
# |   ^
# | /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir:14:3: note: see current operation: 
# | "gpu.module"() <{sym_name = "kernel", targets = [#xevm.target]}> ({
# |   "llvm.func"() <{CConv = #llvm.cconv<spir_kernelcc>, function_type = !llvm.func<void ()>, intel_reqd_sub_group_size = 16 : i32, linkage = #llvm.linkage<external>, sym_name = "native_fcns", unnamed_addr = 0 : i64, visibility_ = 0 : i64}> ({
# |     %0 = "llvm.mlir.constant"() <{value = 0.000000e+00 : f16}> : () -> f16
# |     %1 = "llvm.mlir.constant"() <{value = 0.000000e+00 : f32}> : () -> f32
# |     %2 = "llvm.mlir.constant"() <{value =
# | ...
# `---data was truncated--------
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1

--

********************


```

</details>

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


More information about the Mlir-commits mailing list