Turn of jump tables for a bit, there are still some issues to work out with
authorNate Begeman <natebegeman@mac.com>
Sat, 22 Apr 2006 23:51:56 +0000 (23:51 +0000)
committerNate Begeman <natebegeman@mac.com>
Sat, 22 Apr 2006 23:51:56 +0000 (23:51 +0000)
updating the machine CFG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27949 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 7fcaaf59af9aed58be2e2a21a6d14050848a5d21..60cb5810446e1619eaf3904253f1d4d59e55c9f9 100644 (file)
@@ -891,7 +891,7 @@ void SelectionDAGLowering::visitSwitch(SwitchInst &I) {
   // FIXME: Make this work with 64 bit targets someday, possibly by always
   // doing differences there so that entries stay 32 bits.
   // FIXME: Make this work with PIC code
-  if (TLI.isOperationLegal(ISD::BRIND, TLI.getPointerTy()) &&
+  if (0 && TLI.isOperationLegal(ISD::BRIND, TLI.getPointerTy()) &&
       TLI.getPointerTy() == MVT::i32 &&
       (Relocs == Reloc::Static || Relocs == Reloc::DynamicNoPIC) &&
       Cases.size() > 3) {