git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200579
91177308-0d34-0410-b5e6-
96231b3b80d8
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.
// 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]);
}
}
TEST(APIntTest, nearestLogBase2) {
- // Single word check.
+ // Single word check.
// Test round up.
uint64_t I1 = 0x1800001;