mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
[APInt] Combine declaration and initialization. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2489,9 +2489,7 @@ integerPart APInt::tcAdd(integerPart *dst, const integerPart *rhs,
|
||||
assert(c <= 1);
|
||||
|
||||
for (unsigned i = 0; i < parts; i++) {
|
||||
integerPart l;
|
||||
|
||||
l = dst[i];
|
||||
integerPart l = dst[i];
|
||||
if (c) {
|
||||
dst[i] += rhs[i] + 1;
|
||||
c = (dst[i] <= l);
|
||||
@@ -2511,9 +2509,7 @@ integerPart APInt::tcSubtract(integerPart *dst, const integerPart *rhs,
|
||||
assert(c <= 1);
|
||||
|
||||
for (unsigned i = 0; i < parts; i++) {
|
||||
integerPart l;
|
||||
|
||||
l = dst[i];
|
||||
integerPart l = dst[i];
|
||||
if (c) {
|
||||
dst[i] -= rhs[i] + 1;
|
||||
c = (dst[i] >= l);
|
||||
|
||||
Reference in New Issue
Block a user