[all-commits] [llvm/llvm-project] 6b040b: [HIP] Fix -save-temps with the new offload driver ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Mar 3 10:07:45 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b040b0dee9cb8b38e56dbcb7e51182a62703e05
      https://github.com/llvm/llvm-project/commit/6b040b0dee9cb8b38e56dbcb7e51182a62703e05
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/hip-save-temps.hip
    M clang/test/Driver/hip-spirv-backend-bindings.c
    M clang/test/Driver/hip-spirv-backend-phases.c

  Log Message:
  -----------
  [HIP] Fix -save-temps with the new offload driver (#184385)

Summary:
The new offloading driver passes LLVM-IR to the linker phase. This
caused a problem with `-save-temps` passing unoptimized bitcode. We were
supposed to have dedicated handling for this, but it was not firing in
the HIP case like it is supposed to. OpenMP already supports this so
simply identify the cases that skip this support and fix it.



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