[clang] [llvm] [Clang] Lift HIPSPV onto the new offload driver (PR #168043)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 29 05:47:15 PST 2026
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.mikael.linjamaki at intel.com>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/168043 at github.com>
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/35331
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Driver/hipspv-toolchain.hip' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang -### -target x86_64-linux-gnu --offload=spirv64 --no-offload-new-driver --hip-path=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv -nohipwrapperinc /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip 2>&1 | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck --check-prefixes=CHECK,OLD -DTRIPLE=spirv64 /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang '-###' -target x86_64-linux-gnu --offload=spirv64 --no-offload-new-driver --hip-path=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv -nohipwrapperinc /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck --check-prefixes=CHECK,OLD -DTRIPLE=spirv64 /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip
# note: command had no output on stdout or stderr
# RUN: at line 8
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang -### -target x86_64-linux-gnu --offload=spirv64-unknown-chipstar --offload-new-driver --hip-path=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv -nohipwrapperinc /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip 2>&1 | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck --check-prefixes=CHECK,NEW -DTRIPLE=spirv64-unknown-chipstar -DHIP_PATH=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang '-###' -target x86_64-linux-gnu --offload=spirv64-unknown-chipstar --offload-new-driver --hip-path=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv -nohipwrapperinc /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck --check-prefixes=CHECK,NEW -DTRIPLE=spirv64-unknown-chipstar -DHIP_PATH=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip
# note: command had no output on stdout or stderr
# RUN: at line 58
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang --offload-new-driver -nogpuinc -nogpulib --offload=spirv64-unknown-chipstar --hip-path=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv -Xoffload-compiler '-###' -c /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip -o /dev/null 2>&1 | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip --check-prefix=CHIPSTAR
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang --offload-new-driver -nogpuinc -nogpulib --offload=spirv64-unknown-chipstar --hip-path=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv -Xoffload-compiler '-###' -c /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip -o /dev/null
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip --check-prefix=CHIPSTAR
# .---command stderr------------
# | [1m/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip:64:14: [0m[0;1;31merror: [0m[1mCHIPSTAR: expected string not found in input
[0m# | [1m[0m// CHIPSTAR: {{".*llvm-link"}}
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mAssertion failed: (TargetInitialized && "Target not initialized!"), function isTargetWatchOSBased, file Darwin.h, line 511.
# | [0;1;32m^
[0m# | [0;1;32m[0m[1m<stdin>:2:47: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0mPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46mAssertion failed: (TargetInitialized && "Target not initialized!"), function isTargetWatchOSBased, file Darwin.h, line 511. [0m
# | [0;1;31mcheck:64'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m# | [0;1;31m[0m[0;1;30m 2: [0m[1m[0;1;46mPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. [0m
# | [0;1;31mcheck:64'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;35mcheck:64'1 ? possible intended match
[0m# | [0;1;35m[0m[0;1;30m 3: [0m[1m[0;1;46mStack dump: [0m
# | [0;1;31mcheck:64'0 ~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 4: [0m[1m[0;1;46m0. Program arguments: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang --offload-new-driver -nogpuinc -nogpulib --offload=spirv64-unknown-chipstar --hip-path=/Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/Inputs/hipspv -Xoffload-compiler -### -c /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip -o /dev/null [0m
# | [0;1;31mcheck:64'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/168043
More information about the cfe-commits
mailing list