diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-26 18:38:42 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-26 18:38:42 +0000 |
commit | a844986ac000f75846c3574755a12d032770e23e (patch) | |
tree | a4691cc520456e24a08fc4e49dcd035901063fa6 /gcc/ifcvt.c | |
parent | 7e13b46d5af778c9843b7a54e5a2c1f89ba6117c (diff) | |
download | gcc-a844986ac000f75846c3574755a12d032770e23e.tar.gz |
* Makefile.in (ifcvt.o): Depend on target.h
* ifcvt.c (target.h): Include.
(if_convert): Don't call mark_loop_exit_edges if we can't
modify jumps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index bb783fbf57f..eec1f369cd3 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -39,6 +39,7 @@ #include "toplev.h" #include "tm_p.h" #include "cfgloop.h" +#include "target.h" #ifndef HAVE_conditional_execution @@ -3112,7 +3113,8 @@ if_convert (int x_life_data_ok) num_removed_blocks = 0; life_data_ok = (x_life_data_ok != 0); - mark_loop_exit_edges (); + if (! (* targetm.cannot_modify_jumps_p) ()) + mark_loop_exit_edges (); /* Free up basic_block_for_insn so that we don't have to keep it up to date, either here or in merge_blocks. */ |