[llvm] r226215 - InductiveRangeCheckElimination: Remove extra ';'
David Majnemer
david.majnemer at gmail.com
Thu Jan 15 13:55:16 PST 2015
Author: majnemer
Date: Thu Jan 15 15:55:16 2015
New Revision: 226215
URL: http://llvm.org/viewvc/llvm-project?rev=226215&view=rev
Log:
InductiveRangeCheckElimination: Remove extra ';'
This silences a GCC warning.
Modified:
llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp?rev=226215&r1=226214&r2=226215&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp Thu Jan 15 15:55:16 2015
@@ -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) {
More information about the llvm-commits
mailing list