summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-07-28 19:47:33 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-07-28 19:47:33 +0000
commitcf2996dc221c2c4371879b3413489e7f3c94544e (patch)
treeebb16aa046dd334aef1517796cb9c4c4a8523cff /compiler-rt
parent1b06812f466f1fe64f1772617b6f65059a290292 (diff)
downloadbcm5719-llvm-cf2996dc221c2c4371879b3413489e7f3c94544e.tar.gz
bcm5719-llvm-cf2996dc221c2c4371879b3413489e7f3c94544e.zip
Don't redeclare sr.
llvm-svn: 136377
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/udivmoddi4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/udivmoddi4.c b/compiler-rt/lib/udivmoddi4.c
index c5db21cf0c8..dcf186df111 100644
--- a/compiler-rt/lib/udivmoddi4.c
+++ b/compiler-rt/lib/udivmoddi4.c
@@ -133,7 +133,7 @@ __udivmoddi4(du_int a, du_int b, du_int* rem)
*rem = n.s.low & (d.s.low - 1);
if (d.s.low == 1)
return n.all;
- unsigned sr = __builtin_ctz(d.s.low);
+ sr = __builtin_ctz(d.s.low);
q.s.high = n.s.high >> sr;
q.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr);
return q.all;
OpenPOWER on IntegriCloud