[all-commits] [llvm/llvm-project] 832f7a: [CMake] Use -O0 for unittests under full LTO as well
Petr Hosek via All-commits
all-commits at lists.llvm.org
Tue May 18 13:42:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 832f7af2832ed4c059e2fc2c1b7663b5d0ff9494
https://github.com/llvm/llvm-project/commit/832f7af2832ed4c059e2fc2c1b7663b5d0ff9494
Author: Petr Hosek <phosek at google.com>
Date: 2021-05-18 (Tue, 18 May 2021)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
Log Message:
-----------
[CMake] Use -O0 for unittests under full LTO as well
We already use -O0 for unittests under ThinLTO, do the same for full LTO
where the compile time costs to runtime benefits tradeoff is even worse.
Differential Revision: https://reviews.llvm.org/D102718
More information about the All-commits
mailing list