summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/X86')
-rw-r--r--llvm/lib/Target/X86/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/CMakeLists.txt b/llvm/lib/Target/X86/CMakeLists.txt
index c3b16e20bf8..7e0df294146 100644
--- a/llvm/lib/Target/X86/CMakeLists.txt
+++ b/llvm/lib/Target/X86/CMakeLists.txt
@@ -14,7 +14,9 @@ tablegen(LLVM X86GenEVEX2VEXTables.inc -gen-x86-EVEX2VEX-tables)
tablegen(LLVM X86GenRegisterBank.inc -gen-register-bank)
tablegen(LLVM X86GenGlobalISel.inc -gen-global-isel)
-tablegen(LLVM X86GenFoldTables.inc -gen-x86-fold-tables)
+if (X86_GEN_FOLD_TABLES)
+ tablegen(LLVM X86GenFoldTables.inc -gen-x86-fold-tables)
+endif()
add_public_tablegen_target(X86CommonTableGen)
OpenPOWER on IntegriCloud