[clang] [llvm] [SPIR-V] Implement SPV_KHR_untyped_pointers extension (PR #201233)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 29 07:18:27 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 179799 tests passed
* 3586 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Driver/spirv-amd-toolchain.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### -ccc-print-phases --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=PHASES
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' -ccc-print-phases --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=PHASES
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### -ccc-print-phases -use-spirv-backend --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=PHASES
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' -ccc-print-phases -use-spirv-backend --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=PHASES
# note: command had no output on stdout or stderr
# RUN: at line 12
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### -ccc-print-bindings --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=BINDINGS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' -ccc-print-bindings --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=BINDINGS
# note: command had no output on stdout or stderr
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### -ccc-print-bindings -use-spirv-backend --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=BINDINGS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' -ccc-print-bindings -use-spirv-backend --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=BINDINGS
# note: command had no output on stdout or stderr
# RUN: at line 20
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### -no-use-spirv-backend --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=INVOCATION
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' -no-use-spirv-backend --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=INVOCATION
# note: command had no output on stdout or stderr
# RUN: at line 26
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=INVOCATION-SPIRV-BACKEND
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' --target=spirv64-amd-amdhsa /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c --check-prefix=INVOCATION-SPIRV-BACKEND
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c:32:30: error: INVOCATION-SPIRV-BACKEND: expected string not found in input
# | // INVOCATION-SPIRV-BACKEND: "-cc1" "-triple=spirv64-amd-amdhsa" "-emit-obj" {{.*}} "-mllvm" "-spirv-preserve-auxdata" "[[LINKED_OUTPUT]]" "-o" "a.out"
# | ^
# | <stdin>:7:181: note: scanning from here
# | "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-link" "-o" "/tmp/lit-tmp-9k8q3t98/a-linked-704101.bc" "/tmp/lit-tmp-9k8q3t98/spirv-amd-toolchain-d92767.o"
# | ^
# | <stdin>:7:181: note: with "LINKED_OUTPUT" equal to "/tmp/lit-tmp-9k8q3t98/a-linked-704101.bc"
# | "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-link" "-o" "/tmp/lit-tmp-9k8q3t98/a-linked-704101.bc" "/tmp/lit-tmp-9k8q3t98/spirv-amd-toolchain-d92767.o"
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang version 24.0.0git (https://github.com/llvm/llvm-project 30c42ec075e84436012b1240bf3c8daded6ec9da)
# | 2: Target: spirv64-amd-amdhsa
# | 3: Thread model: posix
# | 4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
# | 5: Build config: +assertions
# | 6: "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-24" "-cc1" "-triple" "spirv64-amd-amdhsa" "-Werror=atomic-alignment" "-Wspir-compat" "-emit-llvm-bc" "-flto=full" "-flto-unit" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "spirv-amd-toolchain.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=all" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-disable-llvm-optzns" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver" "-fcoverage-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver" "-resource-dir" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24" "-ferror-limit" "19" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-o" "/tmp/lit-tmp-9k8q3t98/spirv-amd-toolchain-d92767.o" "-x" "c" "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/spirv-amd-toolchain.c"
# | 7: "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-link" "-o" "/tmp/lit-tmp-9k8q3t98/a-linked-704101.bc" "/tmp/lit-tmp-9k8q3t98/spirv-amd-toolchain-d92767.o"
# | check:32'0 { search range start (exclusive)
# | check:32'1 error: no match found in search range
# | check:32'2 with "LINKED_OUTPUT" equal to "/tmp/lit-tmp-9k8q3t98/a-linked-704101.bc"
# | 8: "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-24" "-cc1" "-triple=spirv64-amd-amdhsa" "-emit-obj" "-disable-llvm-optzns" "/tmp/lit-tmp-9k8q3t98/a-linked-704101.bc" "-o" "a.out"
# | check:32'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/201233
More information about the cfe-commits
mailing list