summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-05-16 17:45:23 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-05-16 17:45:23 +0000
commit3e348494bbe72609893957510d56fb0266531306 (patch)
tree233b2a2b4417b5402aa82769259e29adac40905b /lib/CodeGen
parentdae9cbe8d4fcd8f182a99403d67cae906bdb3175 (diff)
downloadllvm-3e348494bbe72609893957510d56fb0266531306.tar.gz
llvm-3e348494bbe72609893957510d56fb0266531306.tar.bz2
llvm-3e348494bbe72609893957510d56fb0266531306.tar.xz
this should be 128 I think
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 49f8adebb0..97ed577d3c 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -1500,7 +1500,7 @@ static mu magicu64(uint64_t d)
r2 = 2*r2 + 1; // update r2
}
delta = d - 1 - r2;
- } while (p < 64 && (q1 < delta || (q1 == delta && r1 == 0)));
+ } while (p < 128 && (q1 < delta || (q1 == delta && r1 == 0)));
magu.m = q2 + 1; // resulting magic number
magu.s = p - 64; // resulting shift
return magu;