[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:
Craig Topper
2017-04-02 06:59:41 +00:00
parent 4010109a87
commit c3f2c54438
+2 -6
View File
@@ -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);