]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/42505 (loop canonicalization causes a lot of unnecessary temporary...
authorSandra Loosemore <sandra@codesourcery.com>
Mon, 5 Jul 2010 17:40:57 +0000 (13:40 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Mon, 5 Jul 2010 17:40:57 +0000 (13:40 -0400)
commit16ad8025237c565af9292d382b46772a24ba955e
treef20842f5f809320a8d5943d03419f981e5f8a32d
parent22a4778a0d558eeeedb14db4e811e36483675983
re PR middle-end/42505 (loop canonicalization causes a lot of unnecessary temporary variables)

2010-07-05  Sandra Loosemore  <sandra@codesourcery.com>

PR middle-end/42505

gcc/
* tree-ssa-loop-ivopts.c (determine_set_costs): Delete obsolete
comments about cost model.
(try_add_cand_for):  Add second strategy for choosing initial set
based on original IVs, controlled by ORIGINALP argument.
(get_initial_solution): Add ORIGINALP argument.
(find_optimal_iv_set_1): New function, split from find_optimal_iv_set.
(find_optimal_iv_set): Try two different strategies for choosing
the IV set, and return the one with lower cost.

gcc/testsuite/
* gcc.target/arm/pr42505.c: New test case.

From-SVN: r161844
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr42505.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivopts.c
This page took 0.062501 seconds and 5 git commands to generate.