diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2004-11-22 22:33:47 +0100 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2004-11-22 21:33:47 +0000 |
commit | 1d481ba83c705072441d4a3c52902c4e3573069f (patch) | |
tree | d8660e4627f3ddc5b8cbe84ddc41e85ff94cac90 /gcc/tree-phinodes.c | |
parent | 392cd098c5d7aa57b0a5ae934f8ee0ce9945130c (diff) | |
download | gcc-1d481ba83c705072441d4a3c52902c4e3573069f.zip gcc-1d481ba83c705072441d4a3c52902c4e3573069f.tar.gz gcc-1d481ba83c705072441d4a3c52902c4e3573069f.tar.bz2 |
re PR tree-optimization/18529 (When the lower bound of a loop is non-constant we cannot find the number of iterations)
PR tree-optimization/18529
* fold-const.c (fold_to_nonsharp_ineq_using_bound): New function.
(simple_operand_p): Use STRIP_NOPS. Consider SSA names simple.
(fold): Call fold_to_nonsharp_ineq_using_bound.
* tree-ssa-loop-niter.c (simplify_replace_tree): New function.
(number_of_iterations_cond): Fold the expressions before futher
processing.
(tree_simplify_using_condition): Handle case when cond or expr is
an EQ_EXPR specially.
From-SVN: r91031
Diffstat (limited to 'gcc/tree-phinodes.c')
0 files changed, 0 insertions, 0 deletions