aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-outof-ssa.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2017-10-24 07:26:52 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2017-10-24 07:26:52 +0000
commitbc2a7cebfda15f53bc8fa4b596e96a87b53193fe (patch)
tree5835f9cdd7df1edbcc8445fba0d12041daf92a71 /gcc/tree-outof-ssa.h
parentd32bc875d2297f2f2240e8aad2082be4d1f851d8 (diff)
downloadgcc-bc2a7cebfda15f53bc8fa4b596e96a87b53193fe.zip
gcc-bc2a7cebfda15f53bc8fa4b596e96a87b53193fe.tar.gz
gcc-bc2a7cebfda15f53bc8fa4b596e96a87b53193fe.tar.bz2
re PR middle-end/82569 (failure in 177.mesa cpu2000 test case after r253530)
PR middle-end/82569 * tree-outof-ssa.h (always_initialized_rtx_for_ssa_name_p): Delete. * expr.c (expand_expr_real_1) <expand_decl_rtl>: Revert latest change. * loop-iv.c (iv_get_reaching_def): Likewise. * cfgexpand.c (expand_one_ssa_partition): Initialize the RTX if the variable is promoted and the partition contains undefined values. From-SVN: r254037
Diffstat (limited to 'gcc/tree-outof-ssa.h')
-rw-r--r--gcc/tree-outof-ssa.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/tree-outof-ssa.h b/gcc/tree-outof-ssa.h
index 1220b62..ebbaea1 100644
--- a/gcc/tree-outof-ssa.h
+++ b/gcc/tree-outof-ssa.h
@@ -74,18 +74,6 @@ get_gimple_for_ssa_name (tree exp)
return NULL;
}
-/* Return whether the RTX expression representing the storage of the outof-SSA
- partition that the SSA name EXP is a member of is always initialized. */
-static inline bool
-always_initialized_rtx_for_ssa_name_p (tree exp)
-{
- int p = partition_find (SA.map->var_partition, SSA_NAME_VERSION (exp));
- if (SA.map->partition_to_view)
- p = SA.map->partition_to_view[p];
- gcc_assert (p != NO_PARTITION);
- return !bitmap_bit_p (SA.partitions_for_undefined_values, p);
-}
-
extern bool ssa_is_replaceable_p (gimple *stmt);
extern void finish_out_of_ssa (struct ssaexpand *sa);
extern unsigned int rewrite_out_of_ssa (struct ssaexpand *sa);