From 63feac1e767184551e05e05961e5bc37c493e1f7 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Thu, 15 Jan 2015 21:55:16 +0000 Subject: [PATCH] InductiveRangeCheckElimination: Remove extra ';' This silences a GCC warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226215 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp b/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp index 323c72b4567..5b7ba7577b8 100644 --- a/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp +++ b/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) {