[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------------
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/Driver/hipspv-toolchain.hip:64:14: error: CHIPSTAR: expected string not found in input
# | // CHIPSTAR: {{".*llvm-link"}}
# |              ^
# | <stdin>:1:1: note: scanning from here
# | Assertion failed: (TargetInitialized && "Target not initialized!"), function isTargetWatchOSBased, file Darwin.h, line 511.
# | ^
# | <stdin>:2:47: note: possible intended match here
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# |                                               ^
# | 
# | 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:
# | <<<<<<
# |             1: Assertion failed: (TargetInitialized && "Target not initialized!"), function isTargetWatchOSBased, file Darwin.h, line 511. 
# | check:64'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 
# | check:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:64'1                                                   ?                                                                                                              possible intended match
# |             3: Stack dump: 
# | check:64'0     ~~~~~~~~~~~~
# |             4: 0. 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 
# | check:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

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


More information about the cfe-commits mailing list