summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86RegisterBankInfo.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/X86RegisterBankInfo.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/X86RegisterBankInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/X86RegisterBankInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterBankInfo.cpp b/llvm/lib/Target/X86/X86RegisterBankInfo.cpp
index efd3df26dd4..ec303aca9c8 100644
--- a/llvm/lib/Target/X86/X86RegisterBankInfo.cpp
+++ b/llvm/lib/Target/X86/X86RegisterBankInfo.cpp
@@ -26,10 +26,6 @@ using namespace llvm;
#define GET_TARGET_REGBANK_INFO_IMPL
#include "X86GenRegisterBankInfo.def"
-#ifndef LLVM_BUILD_GLOBAL_ISEL
-#error "You shouldn't build this"
-#endif
-
X86RegisterBankInfo::X86RegisterBankInfo(const TargetRegisterInfo &TRI)
: X86GenRegisterBankInfo() {
OpenPOWER on IntegriCloud