1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

InductiveRangeCheckElimination: Remove extra ';'

This silences a GCC warning.

llvm-svn: 226215
This commit is contained in:
David Majnemer 2015-01-15 21:55:16 +00:00
parent c921a5c529
commit 3affad4957

View File

@ -378,11 +378,11 @@ static Value *MaybeSimplify(Value *V) {
static Value *ConstructSMinOf(Value *X, Value *Y, IRBuilder<> &B) {
return MaybeSimplify(B.CreateSelect(B.CreateICmpSLT(X, Y), X, Y));
};
}
static Value *ConstructSMaxOf(Value *X, Value *Y, IRBuilder<> &B) {
return MaybeSimplify(B.CreateSelect(B.CreateICmpSGT(X, Y), X, Y));
};
}
namespace {
@ -573,7 +573,7 @@ public:
// Entry point for the algorithm. Returns true on success.
bool run();
};
};
}
void LoopConstrainer::replacePHIBlock(PHINode *PN, BasicBlock *Block,
BasicBlock *ReplaceBy) {