diff options
author | Max Kazantsev <max.kazantsev@azul.com> | 2017-11-29 06:10:36 +0000 |
---|---|---|
committer | Max Kazantsev <max.kazantsev@azul.com> | 2017-11-29 06:10:36 +0000 |
commit | bee1015aa6461af22ef8b68cc2a075d615a3e01e (patch) | |
tree | 87cb538d59c377b7cd9a2a6f61984a505e736ea6 /lib/Analysis | |
parent | c2659f12f7a56263280fa2c5492eed75b0c67e90 (diff) |
[SCEV][NFC] Remove condition that can never happen due to check few lines above
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index bc227747538..25e3b0c3585 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -718,8 +718,6 @@ static int CompareSCEVComplexity( return (int)LNumOps - (int)RNumOps; for (unsigned i = 0; i != LNumOps; ++i) { - if (i >= RNumOps) - return 1; int X = CompareSCEVComplexity(EqCacheSCEV, LI, LC->getOperand(i), RC->getOperand(i), DT, Depth + 1); if (X != 0) |