diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2011-07-28 23:15:41 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2011-07-28 23:15:41 +0000 |
commit | 8b068943a4f0d7edb3dc8aa00e03cba939193756 (patch) | |
tree | 4050ebf8b02ec23ba0f59282794eb1a4f4242951 /compiler-rt | |
parent | 269f256645ac3c279a928dfbba59aa4f3c04c228 (diff) | |
download | bcm5719-llvm-8b068943a4f0d7edb3dc8aa00e03cba939193756.tar.gz bcm5719-llvm-8b068943a4f0d7edb3dc8aa00e03cba939193756.zip |
Don't redeclare sr.
llvm-svn: 136424
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/udivmodti4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/udivmodti4.c b/compiler-rt/lib/udivmodti4.c index d1e19edd4c3..427861b1e3d 100644 --- a/compiler-rt/lib/udivmodti4.c +++ b/compiler-rt/lib/udivmodti4.c @@ -132,7 +132,7 @@ __udivmodti4(tu_int a, tu_int b, tu_int* rem) *rem = n.s.low & (d.s.low - 1); if (d.s.low == 1) return n.all; - unsigned sr = __builtin_ctzll(d.s.low); + sr = __builtin_ctzll(d.s.low); q.s.high = n.s.high >> sr; q.s.low = (n.s.high << (n_udword_bits - sr)) | (n.s.low >> sr); return q.all; |