diff options
author | Fangrui Song <maskray@google.com> | 2019-07-12 14:58:15 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-07-12 14:58:15 +0000 |
commit | b251cc0d91362ea44f00a0138998a0272791f7dc (patch) | |
tree | fb2f4a2e59243cd19de79db04acf1e1e408e9661 /llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp | |
parent | a196469e67ce578df4fc9f348cc5b7221f12b239 (diff) | |
download | bcm5719-llvm-b251cc0d91362ea44f00a0138998a0272791f7dc.tar.gz bcm5719-llvm-b251cc0d91362ea44f00a0138998a0272791f7dc.zip |
Delete dead stores
llvm-svn: 365903
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp b/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp index cf473c6c520..997d6883815 100644 --- a/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp +++ b/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp @@ -859,7 +859,7 @@ LoopStructure::parseLoopStructure(ScalarEvolution &SE, assert(!StepCI->isZero() && "Zero step?"); bool IsIncreasing = !StepCI->isNegative(); - bool IsSignedPredicate = ICmpInst::isSigned(Pred); + bool IsSignedPredicate; const SCEV *StartNext = IndVarBase->getStart(); const SCEV *Addend = SE.getNegativeSCEV(IndVarBase->getStepRecurrence(SE)); const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend); |