summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-01-15 21:55:16 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-01-15 21:55:16 +0000
commitf1f72c9e437a764749db85ce57c40680f9ce51c0 (patch)
tree3768f079e92d0f6241679b9aa558fcccee73b533 /llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
parent204096b59e88bd3c8461874855850d0830b69d08 (diff)
downloadbcm5719-llvm-f1f72c9e437a764749db85ce57c40680f9ce51c0.tar.gz
bcm5719-llvm-f1f72c9e437a764749db85ce57c40680f9ce51c0.zip
InductiveRangeCheckElimination: Remove extra ';'
This silences a GCC warning. llvm-svn: 226215
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp b/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
index 323c72b4567..5b7ba7577b8 100644
--- a/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
@@ -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) {
OpenPOWER on IntegriCloud