tree-ssa-alias.c (setup_pointers_and_addressables): Remove redundant test of v_ann->mem_tag_kind.

* tree-ssa-alias.c (setup_pointers_and_addressables): Remove
	redundant test of v_ann->mem_tag_kind.

	* tree-ssa-operands.c (get_indirect_ref_operands): Remove
	redundant conditional clearing opf_kill_def.

From-SVN: r92000
This commit is contained in:
Jeff Law 2004-12-10 10:28:32 -07:00 committed by Jeff Law
parent 036ff63fee
commit f914cec236
3 changed files with 8 additions and 13 deletions

View File

@ -1,3 +1,11 @@
2004-12-02 Jeff Law <law@redhat.com>
* tree-ssa-alias.c (setup_pointers_and_addressables): Remove
redundant test of v_ann->mem_tag_kind.
* tree-ssa-operands.c (get_indirect_ref_operands): Remove
redundant conditional clearing opf_kill_def.
2004-12-10 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv-modes.def: Fix comment typos.

View File

@ -1402,7 +1402,6 @@ setup_pointers_and_addressables (struct alias_info *ai)
if (TREE_ADDRESSABLE (var))
{
if (!bitmap_bit_p (ai->addresses_needed, v_ann->uid)
&& v_ann->mem_tag_kind == NOT_A_TAG
&& TREE_CODE (var) != RESULT_DECL
&& !is_global_var (var))
{

View File

@ -1374,18 +1374,6 @@ get_indirect_ref_operands (tree stmt, tree expr, int flags)
/* Stores into INDIRECT_REF operands are never killing definitions. */
flags &= ~opf_kill_def;
if (REF_ORIGINAL (expr))
{
enum tree_code ocode = TREE_CODE (REF_ORIGINAL (expr));
/* If we originally accessed part of a structure, we do it still. */
if (ocode == ARRAY_REF
|| ocode == COMPONENT_REF
|| ocode == REALPART_EXPR
|| ocode == IMAGPART_EXPR)
flags &= ~opf_kill_def;
}
if (SSA_VAR_P (ptr))
{
struct ptr_info_def *pi = NULL;