[all-commits] [llvm/llvm-project] bbbe51: Reland "[clang][Driver] Support for the SPIR-V bac...

Manuel Carrasco via All-commits all-commits at lists.llvm.org
Wed Nov 26 04:44:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbbe511ea2f8d6e4f3977ef1bb28a4fb30323f9a
      https://github.com/llvm/llvm-project/commit/bbbe511ea2f8d6e4f3977ef1bb28a4fb30323f9a
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M clang/include/clang/Options/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/HIPAMD.cpp
    A clang/test/Driver/hip-spirv-backend-bindings.c
    A clang/test/Driver/hip-spirv-backend-opt.c
    A clang/test/Driver/hip-spirv-backend-phases.c

  Log Message:
  -----------
  Reland "[clang][Driver] Support for the SPIR-V backend when compiling HIP" (#169637)

This relands "[clang][Driver] Support for the SPIR-V backend when compiling HIP" #167543. The only new change is a small fix for the multicall driver.

For HIP, the SPIR-V backend can be optionally activated with the -use-spirv-backend flag. This option uses the SPIR-V BE instead of the SPIR-V translator. These changes also ensure that -use-spirv-backend does not require external dependencies, such as spirv-as and spirv-link



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list