[PATCH] D144505: [Clang] Add options in LTO mode when cross compiling for AMDGPU
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 22 10:19:13 PST 2023
jhuber6 added inline comments.
================
Comment at: clang/test/Driver/amdgpu-toolchain.c:7
// RUN: %clang -### -g --target=amdgcn-mesa-mesa3d -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
// AS_LINK: "-cc1as"
----------------
arsenm wrote:
> should add a test for thinlto?
Only thing it would change is adding `-plugin-opt=thinlto`. Not sure if it's worth a test since it's probably checked by other uses of `addLTOOptions`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144505/new/
https://reviews.llvm.org/D144505
More information about the cfe-commits
mailing list