lambda-code.c (perfect_nestify): Call update_stmt on the exit condition.

2005-05-25  Daniel Berlin <dberlin@dberlin.org>

	* lambda-code.c (perfect_nestify): Call update_stmt on the exit
	condition.

From-SVN: r100150
This commit is contained in:
Daniel Berlin 2005-05-25 14:05:22 +00:00 committed by Daniel Berlin
parent 5c0d254da6
commit 14ac4d9143
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-05-25 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (perfect_nestify): Call update_stmt on the exit
condition.
2005-05-25 Adrian Straetling <straetling@de.ibm.com>
* config/s390/s390.c (TARGET_INSN_VALID_WITHIN_DOLOOP): Set to

View File

@ -2416,12 +2416,12 @@ perfect_nestify (struct loops *loops,
bsi_insert_after (&bsi, stmt, BSI_SAME_STMT);
else
bsi_insert_before (&bsi, stmt, BSI_SAME_STMT);
update_stmt (stmt);
COND_EXPR_COND (exit_condition) = build (GE_EXPR,
boolean_type_node,
uboundvar,
ivvarinced);
update_stmt (exit_condition);
bbs = get_loop_body (loop);
/* Now replace the induction variable in the moved statements with the
correct loop induction variable. */