]> granicus.if.org Git - llvm/commitdiff
[APInt] Fix indentation. NFC
authorCraig Topper <craig.topper@gmail.com>
Sat, 1 Apr 2017 21:50:06 +0000 (21:50 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 1 Apr 2017 21:50:06 +0000 (21:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299318 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/APInt.cpp

index 4275e3918c6c4b82ee5e174d73a762f2399609c4..babfbdc21a61a8c43191c8ce0729dde58067b20c 100644 (file)
@@ -2816,15 +2816,15 @@ void APInt::tcComplement(integerPart *dst, unsigned parts) {
 int APInt::tcCompare(const integerPart *lhs, const integerPart *rhs,
                      unsigned parts) {
   while (parts) {
-      parts--;
-      if (lhs[parts] == rhs[parts])
-        continue;
+    parts--;
+    if (lhs[parts] == rhs[parts])
+      continue;
 
-      if (lhs[parts] > rhs[parts])
-        return 1;
-      else
-        return -1;
-    }
+    if (lhs[parts] > rhs[parts])
+      return 1;
+    else
+      return -1;
+  }
 
   return 0;
 }