commit | 1c35968d4d622c30b82698506a6fa128f012a504 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Apr 14 19:39:41 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Apr 14 19:39:41 2007 +0000 |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1f982ce..e009488 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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;