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

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 17:09:58 PDT 2022


yaxunl 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 \
----------------
do we need a test for -foffload-lto -fno-gpu-rdc ?


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