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:
parent
5c0d254da6
commit
14ac4d9143
|
@ -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>
|
2005-05-25 Adrian Straetling <straetling@de.ibm.com>
|
||||||
|
|
||||||
* config/s390/s390.c (TARGET_INSN_VALID_WITHIN_DOLOOP): Set to
|
* config/s390/s390.c (TARGET_INSN_VALID_WITHIN_DOLOOP): Set to
|
||||||
|
|
|
@ -2416,12 +2416,12 @@ perfect_nestify (struct loops *loops,
|
||||||
bsi_insert_after (&bsi, stmt, BSI_SAME_STMT);
|
bsi_insert_after (&bsi, stmt, BSI_SAME_STMT);
|
||||||
else
|
else
|
||||||
bsi_insert_before (&bsi, stmt, BSI_SAME_STMT);
|
bsi_insert_before (&bsi, stmt, BSI_SAME_STMT);
|
||||||
|
update_stmt (stmt);
|
||||||
COND_EXPR_COND (exit_condition) = build (GE_EXPR,
|
COND_EXPR_COND (exit_condition) = build (GE_EXPR,
|
||||||
boolean_type_node,
|
boolean_type_node,
|
||||||
uboundvar,
|
uboundvar,
|
||||||
ivvarinced);
|
ivvarinced);
|
||||||
|
update_stmt (exit_condition);
|
||||||
bbs = get_loop_body (loop);
|
bbs = get_loop_body (loop);
|
||||||
/* Now replace the induction variable in the moved statements with the
|
/* Now replace the induction variable in the moved statements with the
|
||||||
correct loop induction variable. */
|
correct loop induction variable. */
|
||||||
|
|
Loading…
Reference in New Issue