diff options
| author | Scott Linder <Scott.Linder@amd.com> | 2023-02-15 17:29:19 +0000 |
|---|---|---|
| committer | Scott Linder <Scott.Linder@amd.com> | 2023-02-15 17:34:35 +0000 |
| commit | 97ba3c2bec48ca55cc842c6499b19b0b8a271951 (patch) | |
| tree | 3d3bd8fdd292b1a5d5a641ad4f1777bde921fefb /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | 45ee0a9afc6282000e06fa1edb89fe2159a7b34e (diff) | |
| download | llvm-97ba3c2bec48ca55cc842c6499b19b0b8a271951.zip llvm-97ba3c2bec48ca55cc842c6499b19b0b8a271951.tar.gz llvm-97ba3c2bec48ca55cc842c6499b19b0b8a271951.tar.bz2 | |
[Clang][AMDGPU] Set LTO CG opt level based on Clang option
For AMDGCN default to mapping --lto-O# to --lto-CGO# in a 1:1 manner
(i.e. clang -O<N> implies --lto-O<N> and --lto-CGO<N>).
Ensure there is a means to override this via -Xoffload-linker and begin
to claim these arguments to avoid incorrect warnings that they are not
used.
Reviewed By: yaxunl, MaskRay
Differential Revision: https://reviews.llvm.org/D142499
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
