From: Chris Lattner Date: Sat, 14 Apr 2007 19:39:41 +0000 (+0000) Subject: disable switch lowering using shift/and. It still breaks ppc bootstrap for X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1c35968d4d622c30b82698506a6fa128f012a504;p=oota-llvm.git disable switch lowering using shift/and. It still breaks ppc bootstrap for some reason. :( Will investigate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36011 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1f982ce40cc..e009488fd61 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1678,6 +1678,7 @@ bool SelectionDAGLowering::handleBitTestsSwitchCase(CaseRec& CR, CaseRecVector& WorkList, Value* SV, MachineBasicBlock* Default){ + return false; unsigned IntPtrBits = getSizeInBits(TLI.getPointerTy()); Case& FrontCase = *CR.Range.first;