loop.c (scan_loop): Do not consider insns setting the frame pointer to be candidates for hoisting.

* loop.c (scan_loop): Do not consider insns setting the frame
	pointer to be candidates for hoisting.

From-SVN: r101182
This commit is contained in:
Ulrich Weigand 2005-06-19 13:27:04 +00:00 committed by Ulrich Weigand
parent af12f8ea01
commit 9f24cc7361
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-06-19 Ulrich Weigand <uweigand@de.ibm.com>
* loop.c (scan_loop): Do not consider insns setting the frame
pointer to be candidates for hoisting.
2005-06-19 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.md (*cmpfp_0_sf, *cmpfp_0_df, cmpfp_0_xf):

View File

@ -1135,6 +1135,7 @@ scan_loop (struct loop *loop, int flags)
if (! in_libcall
&& (set = single_set (p))
&& REG_P (SET_DEST (set))
&& SET_DEST (set) != frame_pointer_rtx
#ifdef PIC_OFFSET_TABLE_REG_CALL_CLOBBERED
&& SET_DEST (set) != pic_offset_table_rtx
#endif