summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-01 21:50:06 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-01 21:50:06 +0000
commit99cfe4f99d3685a55100cde0483fc28eebeb04d2 (patch)
treeae6dd838153094ec3e84823b9fed3050b63757a2 /llvm
parentb2aaa5da427c78ad14a82ce07c4e8bcd4032af86 (diff)
downloadbcm5719-llvm-99cfe4f99d3685a55100cde0483fc28eebeb04d2.tar.gz
bcm5719-llvm-99cfe4f99d3685a55100cde0483fc28eebeb04d2.zip
[APInt] Fix indentation. NFC
llvm-svn: 299318
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Support/APInt.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index 4275e3918c6..babfbdc21a6 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -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;
}
OpenPOWER on IntegriCloud