Commit 9f24cc73 by Ulrich Weigand Committed by Ulrich Weigand

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
parent af12f8ea
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> 2005-06-19 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.md (*cmpfp_0_sf, *cmpfp_0_df, cmpfp_0_xf): * config/i386/i386.md (*cmpfp_0_sf, *cmpfp_0_df, cmpfp_0_xf):
......
...@@ -1135,6 +1135,7 @@ scan_loop (struct loop *loop, int flags) ...@@ -1135,6 +1135,7 @@ scan_loop (struct loop *loop, int flags)
if (! in_libcall if (! in_libcall
&& (set = single_set (p)) && (set = single_set (p))
&& REG_P (SET_DEST (set)) && REG_P (SET_DEST (set))
&& SET_DEST (set) != frame_pointer_rtx
#ifdef PIC_OFFSET_TABLE_REG_CALL_CLOBBERED #ifdef PIC_OFFSET_TABLE_REG_CALL_CLOBBERED
&& SET_DEST (set) != pic_offset_table_rtx && SET_DEST (set) != pic_offset_table_rtx
#endif #endif
......
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