From: Nate Begeman Date: Sat, 22 Apr 2006 23:51:56 +0000 (+0000) Subject: Turn of jump tables for a bit, there are still some issues to work out with X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05f9466cf0f4f47803af7283f7708cb25f4da889;p=oota-llvm.git Turn of jump tables for a bit, there are still some issues to work out with updating the machine CFG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27949 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 7fcaaf59af9..60cb5810446 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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) {