[PATCH] D135305: [Clang] Fix using LTO with the new driver in RDC-mode

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 17:37:04 PDT 2022


jhuber6 added inline comments.


================
Comment at: clang/test/Driver/hip-phases.hip:553
+//
+// RUN: %clang -### --target=x86_64-linux-gnu --offload-new-driver -ccc-print-phases \
+// RUN:        --offload-arch=gfx90a --offload-arch=gfx908 -foffload-lto -fgpu-rdc -c %s 2>&1 \
----------------
yaxunl wrote:
> do we need a test for -foffload-lto -fno-gpu-rdc ?
The test above still uses the bindings, all the matters for that one is that the jobs generated are legal and still the same.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135305/new/

https://reviews.llvm.org/D135305



More information about the cfe-commits mailing list