[PATCH] D153667: [HIP]: Add gpu-link-output to control link job creation

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 16:02:31 PDT 2023


yaxunl added inline comments.


================
Comment at: clang/test/Driver/hip-phases.hip:259
+// RELOC-DAG: [[P4:[0-9]+]]: assembler, {[[P3]]}, object, (device-[[T]], [[ARCH]])
+// RELOC-NOT: [[P5:[0-9]+]]: linker, {[[P4]]}, image, (device-[[T]], [[ARCH]])
+// RELOC-DAG: [[P5:[0-9]+]]: offload, "device-[[T]] (amdgcn-amd-amdhsa:[[ARCH]])" {[[P4]]}, object
----------------
probably just use

// RELOC-NOT: linker

same for below

also, we need a test for -fgpu-rdc case


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153667



More information about the cfe-commits mailing list