Reinstate "Nuke the old JIT."
[oota-llvm.git] / lib / Target / PowerPC / PPCCTRLoops.cpp
index 333780f1fcd991aaf16beaaff51683782626bebe..5f3b176417368a019aeafeb9603cc8b0aed97906 100644 (file)
@@ -386,8 +386,7 @@ bool PPCCTRLoops::mightUseCTR(const Triple &TT, BasicBlock *BB) {
         return true;
       const TargetLowering *TLI = TM->getSubtargetImpl()->getTargetLowering();
 
-      if (TLI->supportJumpTables() &&
-          SI->getNumCases()+1 >= (unsigned) TLI->getMinimumJumpTableEntries())
+      if (SI->getNumCases() + 1 >= (unsigned)TLI->getMinimumJumpTableEntries())
         return true;
     }
   }