[clang] [HIP] Move HIP to the new driver by default (PR #123359)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 15 06:39:57 PDT 2025
jhuber6 wrote:
> > I'd suggest you just try doing `--offload-new-driver` with `-###` and `-v` and see what doesn't work.
>
> Running the `hipspv-toolchain.hip` case with the `--offload-new-driver` option reveals that it is missing steps for running custom pass plugin on the final device bitcode and SPIR-V translation*, crucial for chipStar.
>
> *: The translation step could be replaced with the SPIR-V backend if it is in good state for chipStar.
Are you able to make PRs for this? The main difference is that when we do `rdc` code it goes through the linker wrapper which will then invoke `clang --target=spirv64 file1 file2`. We have a list of flags to pass through where we create the linker wrapper job.
https://github.com/llvm/llvm-project/pull/123359
More information about the cfe-commits
mailing list