Commit e2b8bd6c by Kazu Hirata Committed by Kazu Hirata

* tree-ssa-loop-im.c (lhs): Remove.

From-SVN: r96189
parent a92b9bdf
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
* tree-ssa-alias.c (may_alias_p): Remove v_ann. * tree-ssa-alias.c (may_alias_p): Remove v_ann.
* tree-ssa-loop-im.c (lhs): Remove.
2005-03-08 Jeff Law <law@redhat.com> 2005-03-08 Jeff Law <law@redhat.com>
* tree-cfg.c (cleanup_control_flow): If removal of a computed * tree-cfg.c (cleanup_control_flow): If removal of a computed
......
...@@ -398,14 +398,13 @@ add_dependency (tree def, struct lim_aux_data *data, struct loop *loop, ...@@ -398,14 +398,13 @@ add_dependency (tree def, struct lim_aux_data *data, struct loop *loop,
static unsigned static unsigned
stmt_cost (tree stmt) stmt_cost (tree stmt)
{ {
tree lhs, rhs; tree rhs;
unsigned cost = 1; unsigned cost = 1;
/* Always try to create possibilities for unswitching. */ /* Always try to create possibilities for unswitching. */
if (TREE_CODE (stmt) == COND_EXPR) if (TREE_CODE (stmt) == COND_EXPR)
return LIM_EXPENSIVE; return LIM_EXPENSIVE;
lhs = TREE_OPERAND (stmt, 0);
rhs = TREE_OPERAND (stmt, 1); rhs = TREE_OPERAND (stmt, 1);
/* Hoisting memory references out should almost surely be a win. */ /* Hoisting memory references out should almost surely be a win. */
......
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