summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-01-31 21:45:51 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-01-31 21:45:51 +0000
commitc47069b1410a6ad1cbc2c847ca577569a2c38c7e (patch)
treee9c7607caf7938c44ab2cd6570d85881e2aa43af
parente9d1102545434c4c930ac5e42f7fe379c3e4c744 (diff)
downloadbcm5719-llvm-c47069b1410a6ad1cbc2c847ca577569a2c38c7e.tar.gz
bcm5719-llvm-c47069b1410a6ad1cbc2c847ca577569a2c38c7e.zip
Clean up whitespace
llvm-svn: 200579
-rw-r--r--llvm/include/llvm/Analysis/BlockFrequencyImpl.h2
-rw-r--r--llvm/unittests/ADT/APIntTest.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Analysis/BlockFrequencyImpl.h b/llvm/include/llvm/Analysis/BlockFrequencyImpl.h
index 2d04c5d4a98..5488847e005 100644
--- a/llvm/include/llvm/Analysis/BlockFrequencyImpl.h
+++ b/llvm/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/llvm/unittests/ADT/APIntTest.cpp b/llvm/unittests/ADT/APIntTest.cpp
index ee547db52af..19c47ab13bf 100644
--- a/llvm/unittests/ADT/APIntTest.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud