This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/42505] [4.4/4.5/4.6 Regression] loop canonicalization causes a lot of unnecessary temporary variables



------- Comment #11 from sandra at gcc dot gnu dot org  2010-07-05 17:41 -------
Subject: Bug 42505

Author: sandra
Date: Mon Jul  5 17:40:57 2010
New Revision: 161844

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161844
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.target/arm/pr42505.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-ivopts.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42505


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]