tree-ssa-loop-ivopts.c (ivopts_data): New field name_expansion_cache.
* tree-ssa-loop-ivopts.c (ivopts_data): New field
name_expansion_cache.
(tree_ssa_iv_optimize_init): Initialize name_expansion_cache.
(tree_ssa_iv_optimize_finalize): Free name_expansion_cache.
(strip_wrap_conserving_type_conversions, expr_equal_p): Delete.
(difference_cannot_overflow_p): New parameter. Use affine
expansion for equality check.
(iv_elimination_compare_lt): Pass new argument.
testsuite/ChangeLog
* gcc.dg/tree-ssa/ivopts-lt-2.c: New test.
From-SVN: r213997