diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-14 18:52:32 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-14 18:52:32 +0000 |
commit | f82f0ea592c2d78077e03f5a1a3b9b40751cc116 (patch) | |
tree | 885f6be93528b5d127ff4ebdfff5e4d673b7ab15 /gcc/gimple.h | |
parent | 9a4bd570be0e06e0e6295ab7692f5889c2cbb3ad (diff) | |
download | gcc-f82f0ea592c2d78077e03f5a1a3b9b40751cc116.tar.gz |
* gimple.h (gimple_can_coalesce_p): Prototype.
* tree-ssa-coalesce.c (gimple_can_coalesce_p): New function.
(create_outofssa_var_map, coalesce_partitions): Use it.
* tree-ssa-uncprop.c (uncprop_into_successor_phis): Similarly.
* tree-ssa-live.c (var_map_base_init): Use TYPE_CANONICAL
if it's available.
* gcc.dg/tree-ssa/coalesce-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200103 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index b4de403e65c..8ae07c9ba5d 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -1101,6 +1101,9 @@ extern tree tree_ssa_strip_useless_type_conversions (tree); extern bool useless_type_conversion_p (tree, tree); extern bool types_compatible_p (tree, tree); +/* In tree-ssa-coalesce.c */ +extern bool gimple_can_coalesce_p (tree, tree); + /* Return the first node in GIMPLE sequence S. */ static inline gimple_seq_node |