aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2010-07-05 13:40:57 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2010-07-05 13:40:57 -0400
commit16ad8025237c565af9292d382b46772a24ba955e (patch)
treef20842f5f809320a8d5943d03419f981e5f8a32d /gcc/tree.c
parent22a4778a0d558eeeedb14db4e811e36483675983 (diff)
downloadgcc-16ad8025237c565af9292d382b46772a24ba955e.zip
gcc-16ad8025237c565af9292d382b46772a24ba955e.tar.gz
gcc-16ad8025237c565af9292d382b46772a24ba955e.tar.bz2
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
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions