[all-commits] [llvm/llvm-project] b647f1: [CUDA][HIP] Fix new driver crashing when using -sa...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Sep 19 12:39:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b647f13226b4b30b8b0cb6e9baebc7a01558cde4
      https://github.com/llvm/llvm-project/commit/b647f13226b4b30b8b0cb6e9baebc7a01558cde4
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M clang/include/clang/Driver/Action.h
    M clang/lib/Driver/Action.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    M clang/test/Driver/cuda-bindings.cu
    M clang/test/Driver/cuda-phases.cu
    M clang/test/Driver/openmp-offload-gpu.c
    M clang/test/Driver/openmp-offload.c

  Log Message:
  -----------
  [CUDA][HIP] Fix new driver crashing when using -save-temps in RDC-mode

Previously when using the `clang-offload-packager` we did not pass the
active offloading kinds. Then in Clang when we attempted to detect when
there was host-offloading action that needed to be embedded in the host
we did not find it. This patch adds the active offloading kinds so we
know when there is input to be embedded.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D134189




More information about the All-commits mailing list