diff options
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r-- | gcc/tree-ssa-propagate.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c index 49277a0..68c1b51 100644 --- a/gcc/tree-ssa-propagate.c +++ b/gcc/tree-ssa-propagate.c @@ -749,7 +749,7 @@ ssa_propagate (ssa_prop_visit_stmt_fn visit_stmt, } -/* Return the first V_MAY_DEF or V_MUST_DEF operand for STMT. */ +/* Return the first VDEF operand for STMT. */ tree first_vdef (tree stmt) @@ -778,7 +778,7 @@ stmt_makes_single_load (tree stmt) if (TREE_CODE (stmt) != GIMPLE_MODIFY_STMT) return false; - if (ZERO_SSA_OPERANDS (stmt, SSA_OP_VMAYDEF|SSA_OP_VUSE)) + if (ZERO_SSA_OPERANDS (stmt, SSA_OP_VDEF|SSA_OP_VUSE)) return false; rhs = GIMPLE_STMT_OPERAND (stmt, 1); @@ -803,7 +803,7 @@ stmt_makes_single_store (tree stmt) if (TREE_CODE (stmt) != GIMPLE_MODIFY_STMT) return false; - if (ZERO_SSA_OPERANDS (stmt, SSA_OP_VMAYDEF|SSA_OP_VMUSTDEF)) + if (ZERO_SSA_OPERANDS (stmt, SSA_OP_VDEF)) return false; lhs = GIMPLE_STMT_OPERAND (stmt, 0); @@ -906,7 +906,7 @@ replace_uses_in (tree stmt, bool *replaced_addresses_p, GIMPLE register, then we are making a copy/constant propagation from a memory store. For instance, - # a_3 = V_MAY_DEF <a_2> + # a_3 = VDEF <a_2> a.b = x_1; ... # VUSE <a_3> @@ -917,8 +917,8 @@ replace_uses_in (tree stmt, bool *replaced_addresses_p, the VUSE(s) that we are replacing. Otherwise, we may do the wrong replacement: - # a_3 = V_MAY_DEF <a_2> - # b_5 = V_MAY_DEF <b_4> + # a_3 = VDEF <a_2> + # b_5 = VDEF <b_4> *p = 10; ... # VUSE <b_5> @@ -938,10 +938,10 @@ replace_uses_in (tree stmt, bool *replaced_addresses_p, stored in different locations: if (...) - # a_3 = V_MAY_DEF <a_2> + # a_3 = VDEF <a_2> a.b = 3; else - # a_4 = V_MAY_DEF <a_2> + # a_4 = VDEF <a_2> a.c = 3; # a_5 = PHI <a_3, a_4> |