[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:18:49 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia-gcc7` running on `mlir-nvidia` while building `mlir` at step 7 "test-build-check-mlir-build-only-check-mlir".

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

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

```
Step 7 (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
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-opt /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir -gpu-module-to-binary="format=isa"              -debug-only=serialize-to-isa 2> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/test/Conversion/MathToXeVM/Output/native-spirv-builtins.mlir.tmp
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-opt /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Conversion/MathToXeVM/native-spirv-builtins.mlir -gpu-module-to-binary=format=isa -debug-only=serialize-to-isa
# .---redirected output from '/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/test/Conversion/MathToXeVM/Output/native-spirv-builtins.mlir.tmp'
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/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] {
# |   ^
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/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 = 0.000000e+00 : f64}> : () -> f64
# |     %3 = "llvm.mlir.constant"() <{value = dense<0.000000e+00> : vector<2xf64>}> : () -> vector
# | ...
# `---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