Commit a18428f3 by Kazu Hirata Committed by Kazu Hirata

tree-ssa-dom.c (record_equivalences_from_phis): Remove an "if" whose condition is always true.

	* tree-ssa-dom.c (record_equivalences_from_phis): Remove an
	"if" whose condition is always true.

From-SVN: r91676
parent 7bd3a493
2004-12-03 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-dom.c (record_equivalences_from_phis): Remove an
"if" whose condition is always true.
2004-12-02 Stan Shebs <shebs@apple.com> 2004-12-02 Stan Shebs <shebs@apple.com>
* config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit * config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit
......
...@@ -1177,8 +1177,6 @@ record_equivalences_from_phis (basic_block bb) ...@@ -1177,8 +1177,6 @@ record_equivalences_from_phis (basic_block bb)
{ {
tree t = PHI_ARG_DEF (phi, i); tree t = PHI_ARG_DEF (phi, i);
if (TREE_CODE (t) == SSA_NAME || is_gimple_min_invariant (t))
{
/* Ignore alternatives which are the same as our LHS. */ /* Ignore alternatives which are the same as our LHS. */
if (operand_equal_for_phi_arg_p (lhs, t)) if (operand_equal_for_phi_arg_p (lhs, t))
continue; continue;
...@@ -1193,9 +1191,6 @@ record_equivalences_from_phis (basic_block bb) ...@@ -1193,9 +1191,6 @@ record_equivalences_from_phis (basic_block bb)
else if (! operand_equal_for_phi_arg_p (rhs, t)) else if (! operand_equal_for_phi_arg_p (rhs, t))
break; break;
} }
else
break;
}
/* If we had no interesting alternatives, then all the RHS alternatives /* If we had no interesting alternatives, then all the RHS alternatives
must have been the same as LHS. */ must have been the same as LHS. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment