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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits