From f82f0ea592c2d78077e03f5a1a3b9b40751cc116 Mon Sep 17 00:00:00 2001 From: law Date: Fri, 14 Jun 2013 18:52:32 +0000 Subject: * 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 --- gcc/gimple.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/gimple.h') 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 -- cgit v1.2.1