diff options
author | Richard Guenther <rguenther@suse.de> | 2008-03-20 23:14:35 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-03-20 23:14:35 +0000 |
commit | ad6003f260068a46bd378c5601604bc1cf077e74 (patch) | |
tree | 1118cd00df41aae6eb9b333544d174fc12d3fc3f /gcc/tree-ssa-loop-ivopts.c | |
parent | 2acdc1fb2d1f9b72672256ba3aa5fd74d1436223 (diff) | |
download | gcc-ad6003f260068a46bd378c5601604bc1cf077e74.zip gcc-ad6003f260068a46bd378c5601604bc1cf077e74.tar.gz gcc-ad6003f260068a46bd378c5601604bc1cf077e74.tar.bz2 |
tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): Use is_gimple_min_invariant instead of TREE_INVARIANT.
2008-03-21 Richard Guenther <rguenther@suse.de>
* tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop):
Use is_gimple_min_invariant instead of TREE_INVARIANT.
* tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise.
* tree-ssa-dom.c (record_equality): Likewise.
* tree-inline.c (copy_body_r): Likewise.
* tree-ssa-pre.c (make_values_for_stmt): Remove test for
TREE_INVARIANT.
From-SVN: r133403
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 9b406ce..93f3be6 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -3222,7 +3222,7 @@ force_expr_to_var_cost (tree expr) if (SSA_VAR_P (expr)) return zero_cost; - if (TREE_INVARIANT (expr)) + if (is_gimple_min_invariant (expr)) { if (TREE_CODE (expr) == INTEGER_CST) return new_cost (integer_cost, 0); |