[PATCH] D154881: [HIP] Ignore host linker flags for device-only
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 13 13:05:40 PDT 2023
yaxunl added inline comments.
================
Comment at: clang/test/Driver/hip-phases.hip:275
// RELOC-DAG: [[P5:[0-9]+]]: offload, "device-[[T]] (amdgcn-amd-amdhsa:[[ARCH]])" {[[P4]]}, object
//
----------------
need to check RELOC-NOT: host
================
Comment at: clang/test/Driver/hip-phases.hip:302
// RELOC2-DAG: [[P11:[0-9]+]]: offload, "device-[[T]] (amdgcn-amd-amdhsa:[[ARCH2]])" {[[P10]]}, object
//
----------------
need to check RELOC2-NOT: host
================
Comment at: clang/test/Driver/hip-phases.hip:422
// RL2-DEV-NOT: linker
// Test one gpu architectures up to the preprocessor expansion output phase in device-only
----------------
need to check RL2-DEV-NOT: host
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154881/new/
https://reviews.llvm.org/D154881
More information about the cfe-commits
mailing list