[PATCH] D142499: [Clang][AMDGPU] Set LTO CG opt level based on Clang option
Scott Linder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 13:23:34 PST 2023
scott.linder added a comment.
In D142499#4078177 <https://reviews.llvm.org/D142499#4078177>, @arsenm wrote:
> Making this target specific doesn’t make sense
I don't know how else to resolve others wanting the default to be the `CGOptLevel = clamp(ltoOptLevel, 2, 3)` behavior and AMDGPU wanting the default to be `CGOptLevel = ltoOptLevel`. Maybe that isn't actually the default we want? We can ask users to specify `-Xoffload-linker --lto-CGO#`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142499/new/
https://reviews.llvm.org/D142499
More information about the cfe-commits
mailing list