]> granicus.if.org Git - llvm/commit
Reland r349624: Let TableGen write output only if it changed, instead of doing so...
authorNico Weber <nicolasweber@gmx.de>
Thu, 3 Oct 2019 21:22:28 +0000 (21:22 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 3 Oct 2019 21:22:28 +0000 (21:22 +0000)
commit091533bd66ca1546ccc5cad546512ea428f55431
tree80e3fd05731cc3572b45189840adc7a31b0fdfca
parent5576b16055385b29d282c7da8c9ebe4f11ce04d6
Reland r349624: Let TableGen write output only if it changed, instead of doing so in cmake

Move the write-if-changed logic behind a flag and don't pass it
with the MSVC generator. msbuild doesn't have a restat optimization,
so not doing write-if-change there doesn't have a cost, and it
should fix whatever causes PR43385.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373664 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/TableGen.cmake
lib/TableGen/Main.cpp
utils/gn/secondary/llvm/utils/TableGen/tablegen.gni