Commit 85022b3f by Diego Novillo Committed by Diego Novillo

tree-scalar-evolution.c (analyzable_condition): Remove superfluous…

tree-scalar-evolution.c (analyzable_condition): Remove superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.


	* tree-scalar-evolution.c (analyzable_condition): Remove
	superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.

From-SVN: r90528
parent 5fd40200
2004-11-12 Diego Novillo <dnovillo@redhat.com>
* tree-scalar-evolution.c (analyzable_condition): Remove
superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.
2004-11-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY):
......
......@@ -959,9 +959,6 @@ analyzable_condition (tree expr)
switch (TREE_CODE (condition))
{
case SSA_NAME:
/* Volatile expressions are not analyzable. */
if (TREE_THIS_VOLATILE (SSA_NAME_VAR (condition)))
return false;
return true;
case LT_EXPR:
......@@ -970,22 +967,7 @@ analyzable_condition (tree expr)
case GE_EXPR:
case EQ_EXPR:
case NE_EXPR:
{
tree opnd0, opnd1;
opnd0 = TREE_OPERAND (condition, 0);
opnd1 = TREE_OPERAND (condition, 1);
if (TREE_CODE (opnd0) == SSA_NAME
&& TREE_THIS_VOLATILE (SSA_NAME_VAR (opnd0)))
return false;
if (TREE_CODE (opnd1) == SSA_NAME
&& TREE_THIS_VOLATILE (SSA_NAME_VAR (opnd1)))
return false;
return true;
}
return true;
default:
return false;
......
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