summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86InstructionSelector.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2017-08-03 21:52:25 +0000
committerQuentin Colombet <qcolombet@apple.com>2017-08-03 21:52:25 +0000
commit250e050a50e4596ead4dfaf51975f37680d129ac (patch)
treeec9d623d3fc92438335b942fa44b1dcf01849eb4 /llvm/lib/Target/X86/X86InstructionSelector.cpp
parenta5d3909678a7060ce5df3954acca98d47461dbae (diff)
downloadbcm5719-llvm-250e050a50e4596ead4dfaf51975f37680d129ac.tar.gz
bcm5719-llvm-250e050a50e4596ead4dfaf51975f37680d129ac.zip
[GlobalISel] Make GlobalISel a non-optional library.
With this change, the GlobalISel library gets always built. In particular, this is not possible to opt GlobalISel out of the build using the LLVM_BUILD_GLOBAL_ISEL variable any more. llvm-svn: 309990
Diffstat (limited to 'llvm/lib/Target/X86/X86InstructionSelector.cpp')
-rw-r--r--llvm/lib/Target/X86/X86InstructionSelector.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86InstructionSelector.cpp b/llvm/lib/Target/X86/X86InstructionSelector.cpp
index 859d3288db8..5801163573b 100644
--- a/llvm/lib/Target/X86/X86InstructionSelector.cpp
+++ b/llvm/lib/Target/X86/X86InstructionSelector.cpp
@@ -36,10 +36,6 @@
using namespace llvm;
-#ifndef LLVM_BUILD_GLOBAL_ISEL
-#error "You shouldn't build this"
-#endif
-
namespace {
#define GET_GLOBALISEL_PREDICATE_BITSET
OpenPOWER on IntegriCloud