[CMake] Don't optimize tests so much under ThinLTO
authorArthur Eubanks <aeubanks@google.com>
Fri, 12 Feb 2021 09:55:26 +0000 (01:55 -0800)
committerArthur Eubanks <aeubanks@google.com>
Mon, 22 Feb 2021 23:13:49 +0000 (15:13 -0800)
commite765324d89ef702ec287966f5132527d8de67b22
tree4a10485b75a7826fa7a0459216744ce7b3b12087
parent3231607ce95fb34adcddbdd55f8bb00b4a2a2125
[CMake] Don't optimize tests so much under ThinLTO

This drops check-llvm under -DLLVM_ENABLE_LTO=Thin from 13m to 10m20s on Windows and 20m to 15m35s on Linux.

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D96618
llvm/cmake/modules/AddLLVM.cmake