[PATCH] D102732: [CMake] Don't LTO optimize targets that aren't part of any distribution
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 18 16:27:25 PDT 2021
phosek added inline comments.
================
Comment at: llvm/cmake/modules/AddLLVM.cmake:242
# linker in a context where the optimizations are not important.
if (NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG")
----------------
I'm wondering if we should avoid this branch for non-distribution targets as well to further reduce cost, what do you think?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102732/new/
https://reviews.llvm.org/D102732
More information about the llvm-commits
mailing list