re PR target/62631 (gcc.dg/tree-ssa/ivopts-lt-2.c FAILs)
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 6 Feb 2015 11:17:46 +0000 (11:17 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 6 Feb 2015 11:17:46 +0000 (11:17 +0000)
commit9fb87eb0bb346faced57e1f7ea0f9d7f4b9dd472
tree4a6525f3942b6ce4873f4432f6de86d0e1892563
parent9f9ab303f713366fd57c338802735b86dcebf110
re PR target/62631 (gcc.dg/tree-ssa/ivopts-lt-2.c FAILs)

PR target/62631
* tree-ssa-loop-ivopts.c (get_shiftadd_cost): Use the mininum of costs
of shift-add and (add + shift) operations.  Rename local variable.

From-SVN: r220473
gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c