diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-14 19:39:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-14 19:39:41 +0000 |
commit | 1c35968d4d622c30b82698506a6fa128f012a504 (patch) | |
tree | 9ffe9bc0b84d6ef79c18bf71133af04121fe6257 | |
parent | 90016c793924aedb38d93134e6f81112c421c568 (diff) |
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
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1f982ce40c..e009488fd6 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; |