mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
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
This commit is contained in:
parent
3a370d412f
commit
63feac1e76
@ -378,11 +378,11 @@ static Value *MaybeSimplify(Value *V) {
|
|||||||
|
|
||||||
static Value *ConstructSMinOf(Value *X, Value *Y, IRBuilder<> &B) {
|
static Value *ConstructSMinOf(Value *X, Value *Y, IRBuilder<> &B) {
|
||||||
return MaybeSimplify(B.CreateSelect(B.CreateICmpSLT(X, Y), X, Y));
|
return MaybeSimplify(B.CreateSelect(B.CreateICmpSLT(X, Y), X, Y));
|
||||||
};
|
}
|
||||||
|
|
||||||
static Value *ConstructSMaxOf(Value *X, Value *Y, IRBuilder<> &B) {
|
static Value *ConstructSMaxOf(Value *X, Value *Y, IRBuilder<> &B) {
|
||||||
return MaybeSimplify(B.CreateSelect(B.CreateICmpSGT(X, Y), X, Y));
|
return MaybeSimplify(B.CreateSelect(B.CreateICmpSGT(X, Y), X, Y));
|
||||||
};
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
@ -573,7 +573,7 @@ public:
|
|||||||
// Entry point for the algorithm. Returns true on success.
|
// Entry point for the algorithm. Returns true on success.
|
||||||
bool run();
|
bool run();
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
void LoopConstrainer::replacePHIBlock(PHINode *PN, BasicBlock *Block,
|
void LoopConstrainer::replacePHIBlock(PHINode *PN, BasicBlock *Block,
|
||||||
BasicBlock *ReplaceBy) {
|
BasicBlock *ReplaceBy) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user