summaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.h
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 07:09:20 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 07:09:20 +0000
commit88d02c9e3e2d8e03745271bac7541767d9f553b5 (patch)
treeee911e5a5331d4a03e36339c0a1164fe6ef47658 /gcc/tree-chrec.h
parent14bd4516ee52a24e4f7d8873494c7842587ae6e5 (diff)
downloadgcc-88d02c9e3e2d8e03745271bac7541767d9f553b5.tar.gz
PR tree-optimization/18463
* tree-chrec.c (chrec_convert): Return fold_converted chrec if converting it directly is not possible. (chrec_convert_aggressive): New function. * tree-chrec.h (chrec_convert_aggressive): Declare. * tree-scalar-evolution.c (instantiate_parameters_1, resolve_mixers): Fold chrec conversions aggressively if asked to. (instantiate_parameters): Modified because of changes in instantiate_parameters_1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104443 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-chrec.h')
-rw-r--r--gcc/tree-chrec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h
index 6ef1b66a7f4..19719a65be8 100644
--- a/gcc/tree-chrec.h
+++ b/gcc/tree-chrec.h
@@ -68,6 +68,7 @@ extern tree chrec_fold_plus (tree, tree, tree);
extern tree chrec_fold_minus (tree, tree, tree);
extern tree chrec_fold_multiply (tree, tree, tree);
extern tree chrec_convert (tree, tree, tree);
+extern tree chrec_convert_aggressive (tree, tree);
extern tree chrec_type (tree);
/* Operations. */