aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-im.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-09 11:37:51 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-09 11:37:51 +0000
commite2b8bd6cd8790cf7ef04a2437e9b58b311bfd64a (patch)
tree6a61a5c7fe4bb25b56585f705364f0dca858247d /gcc/tree-ssa-loop-im.c
parenta92b9bdfc524dc7db81e901fc4340efcdb8fc8de (diff)
downloadgcc-e2b8bd6cd8790cf7ef04a2437e9b58b311bfd64a.zip
gcc-e2b8bd6cd8790cf7ef04a2437e9b58b311bfd64a.tar.gz
gcc-e2b8bd6cd8790cf7ef04a2437e9b58b311bfd64a.tar.bz2
* tree-ssa-loop-im.c (lhs): Remove.
From-SVN: r96189
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
-rw-r--r--gcc/tree-ssa-loop-im.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c
index 770b71b..4178a21 100644
--- a/gcc/tree-ssa-loop-im.c
+++ b/gcc/tree-ssa-loop-im.c
@@ -398,14 +398,13 @@ add_dependency (tree def, struct lim_aux_data *data, struct loop *loop,
static unsigned
stmt_cost (tree stmt)
{
- tree lhs, rhs;
+ tree rhs;
unsigned cost = 1;
/* Always try to create possibilities for unswitching. */
if (TREE_CODE (stmt) == COND_EXPR)
return LIM_EXPENSIVE;
- lhs = TREE_OPERAND (stmt, 0);
rhs = TREE_OPERAND (stmt, 1);
/* Hoisting memory references out should almost surely be a win. */