Reinstate "Nuke the old JIT."
[oota-llvm.git] / lib / CodeGen / BasicTargetTransformInfo.cpp
index 21caf051c90110db57ee35e22fa11a8494034f8e..ad24038ec4242c82aa11aa80b4d43a3e6758a67f 100644 (file)
@@ -189,9 +189,8 @@ unsigned BasicTTI::getJumpBufSize() const {
 
 bool BasicTTI::shouldBuildLookupTables() const {
   const TargetLoweringBase *TLI = getTLI();
-  return TLI->supportJumpTables() &&
-      (TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
-       TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other));
+  return TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
+         TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other);
 }
 
 bool BasicTTI::haveFastSqrt(Type *Ty) const {