diff options
-rw-r--r-- | include/llvm/Analysis/BlockFrequencyImpl.h | 2 | ||||
-rw-r--r-- | unittests/ADT/APIntTest.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/BlockFrequencyImpl.h b/include/llvm/Analysis/BlockFrequencyImpl.h index 2d04c5d4a9..5488847e00 100644 --- a/include/llvm/Analysis/BlockFrequencyImpl.h +++ b/include/llvm/Analysis/BlockFrequencyImpl.h @@ -159,7 +159,7 @@ class BlockFrequencyImpl { return; } - if(BlockT *Pred = getSingleBlockPred(BB)) { + if (BlockT *Pred = getSingleBlockPred(BB)) { if (BlocksInLoop.count(Pred)) setBlockFreq(BB, getEdgeFreq(Pred, BB)); // TODO: else? irreducible, ignore it for now. diff --git a/unittests/ADT/APIntTest.cpp b/unittests/ADT/APIntTest.cpp index ee547db52a..19c47ab13b 100644 --- a/unittests/ADT/APIntTest.cpp +++ b/unittests/ADT/APIntTest.cpp @@ -602,7 +602,7 @@ TEST(APIntTest, arrayAccess) { // Single word check. uint64_t E1 = 0x2CA7F46BF6569915ULL; APInt A1(64, E1); - for (unsigned i = 0, e = 64; i < e; ++i) { + for (unsigned i = 0, e = 64; i < e; ++i) { EXPECT_EQ(bool(E1 & (1ULL << i)), A1[i]); } @@ -632,7 +632,7 @@ TEST(APIntTest, LargeAPIntConstruction) { } TEST(APIntTest, nearestLogBase2) { - // Single word check. + // Single word check. // Test round up. uint64_t I1 = 0x1800001; |