Simplify loop size when step=1
authorMarc Glisse <marc.glisse@inria.fr>
Tue, 4 Jun 2019 20:39:32 +0000 (22:39 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Tue, 4 Jun 2019 20:39:32 +0000 (20:39 +0000)
commit4a28e1f11335c771e215d0cdbae630828c0acaf2
tree0626d88c9bd844588eff098d867a4bd2995c15d7
parent8d3620baab5d17081918b8c0f0e593a49a0d8550
Simplify loop size when step=1

2019-06-04  Marc Glisse  <marc.glisse@inria.fr>

* tree-ssa-loop-niter.c (number_of_iterations_ne): Skip
computations when step is 1.

From-SVN: r271926
gcc/ChangeLog
gcc/tree-ssa-loop-niter.c