]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/18800 (ivopt missed)
authorZdenek Dvorak <dvorakz@suse.cz>
Sat, 18 Dec 2004 20:22:52 +0000 (21:22 +0100)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Sat, 18 Dec 2004 20:22:52 +0000 (20:22 +0000)
commit36f5ada19abb481dff1a9e973f20e4dc77b8b979
treebe8c1c0278641ae18ae9aa16fd05df79f9533593
parentf54ff900373c7406b665588b2af845868b4a1872
re PR tree-optimization/18800 (ivopt missed)

        PR tree-optimization/18800
        * params.def (PARAM_IV_ALWAYS_PRUNE_CAND_SET_BOUND): New parameter.
        * tree-ssa-loop-ivopts.c (struct iv_ca): Add n_cands field.
        (ALWAYS_PRUNE_CAND_SET_BOUND): New macro.
        (iv_ca_set_no_cp, iv_ca_set_cp, iv_ca_new): Update n_cands field.
        (iv_ca_delta_join, iv_ca_delta_reverse, iv_ca_n_cands, iv_ca_prune):
        New functions.
        (iv_ca_extend): Return number of candidates in the set.
        (try_add_cand_for): Add argument to iv_ca_extend calls.
        (try_improve_iv_set): Use iv_ca_prune.
        * doc/invoke.texi (iv-always-prune-cand-set-bound): Document.

From-SVN: r92363
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/tree-ssa-loop-ivopts.c