disable switch lowering using shift/and. It still breaks ppc bootstrap for
some reason. :( Will investigate.
llvm-svn: 36011
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 1f982ce..e009488 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1678,6 +1678,7 @@
CaseRecVector& WorkList,
Value* SV,
MachineBasicBlock* Default){
+ return false;
unsigned IntPtrBits = getSizeInBits(TLI.getPointerTy());
Case& FrontCase = *CR.Range.first;