summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2019-04-16 09:46:02 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2019-04-16 09:46:02 +0000
commit7fe7e15b2cf4b5061d339432afcb1f1375a49c27 (patch)
tree6e51a89c61e8bcf67e4e9d265f4e33af88aec4ed /llvm
parentbef588ce11ef83b3d82c27fe8ceb67bf693c0b79 (diff)
downloadbcm5719-llvm-7fe7e15b2cf4b5061d339432afcb1f1375a49c27.tar.gz
bcm5719-llvm-7fe7e15b2cf4b5061d339432afcb1f1375a49c27.zip
Removed CMake cache upgrade code from 2011
Summary: This code was added in r141266 to make a breaking change to CMake, but still be compatible with existing cache files. The cache files from 2011 are irrelevant today in 2019. Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60711 llvm-svn: 358482
Diffstat (limited to 'llvm')
-rw-r--r--llvm/cmake/modules/TableGen.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/cmake/modules/TableGen.cmake b/llvm/cmake/modules/TableGen.cmake
index 5a9ccbbbdf1..4bd7dd86721 100644
--- a/llvm/cmake/modules/TableGen.cmake
+++ b/llvm/cmake/modules/TableGen.cmake
@@ -119,15 +119,6 @@ macro(add_tablegen target project)
set(${project}_TABLEGEN "${target}" CACHE
STRING "Native TableGen executable. Saves building one when cross-compiling.")
- # Upgrade existing LLVM_TABLEGEN setting.
- if(${project} STREQUAL LLVM)
- if(${LLVM_TABLEGEN} STREQUAL tblgen)
- set(LLVM_TABLEGEN "${target}" CACHE
- STRING "Native TableGen executable. Saves building one when cross-compiling."
- FORCE)
- endif()
- endif()
-
# Effective tblgen executable to be used:
set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
set(${project}_TABLEGEN_TARGET ${${project}_TABLEGEN} PARENT_SCOPE)
OpenPOWER on IntegriCloud