[llvm] r321971 - [X86] Revert accidental change to CMakeLists.txt in r321952

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 7 13:03:43 PST 2018


Author: ctopper
Date: Sun Jan  7 13:03:43 2018
New Revision: 321971

URL: http://llvm.org/viewvc/llvm-project?rev=321971&view=rev
Log:
[X86] Revert accidental change to CMakeLists.txt in r321952

I had removed the qualifiers around the autogenerated folding table so I could compare with the manual table, but didn't intend to commit the change.

Modified:
    llvm/trunk/lib/Target/X86/CMakeLists.txt

Modified: llvm/trunk/lib/Target/X86/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/CMakeLists.txt?rev=321971&r1=321970&r2=321971&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/X86/CMakeLists.txt Sun Jan  7 13:03:43 2018
@@ -14,7 +14,9 @@ tablegen(LLVM X86GenEVEX2VEXTables.inc -
 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)
 




More information about the llvm-commits mailing list