diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-03-24 06:12:07 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-03-24 06:12:07 +0000 |
commit | c9acfcd22cd5eda93e58f2e558b7a6ce86f9b217 (patch) | |
tree | 173fb5c38a5a49c99782bcb4732204ef45a5a012 | |
parent | 962a797052d912ed9a83a7ed90d17f1b281aa598 (diff) |
PR9505:
--- Merging r127858 into '.':
U tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128201 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp index 980f278d4a..9a92671b13 100644 --- a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp +++ b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp @@ -471,11 +471,11 @@ static bool ParseBlock(BitstreamCursor &Stream, unsigned IndentLevel) { } static void PrintSize(double Bits) { - fprintf(stderr, "%.2f/%.2fB/%lluW", Bits, Bits/8,(unsigned long long)Bits/32); + fprintf(stderr, "%.2f/%.2fB/%luW", Bits, Bits/8,(unsigned long)(Bits/32)); } static void PrintSize(uint64_t Bits) { - fprintf(stderr, "%llub/%.2fB/%lluW", (unsigned long long)Bits, - (double)Bits/8, (unsigned long long)Bits/32); + fprintf(stderr, "%lub/%.2fB/%luW", (unsigned long)Bits, + (double)Bits/8, (unsigned long)(Bits/32)); } @@ -601,8 +601,8 @@ static int AnalyzeBitcode() { for (unsigned i = 0, e = FreqPairs.size(); i != e; ++i) { const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second]; - fprintf(stderr, "\t\t%7d %9llu ", RecStats.NumInstances, - (unsigned long long)RecStats.TotalBits); + fprintf(stderr, "\t\t%7d %9lu ", RecStats.NumInstances, + (unsigned long)RecStats.TotalBits); if (RecStats.NumAbbrev) fprintf(stderr, "%7.2f ", |