diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-24 18:34:07 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-24 18:34:07 +0000 |
commit | 161b164781a41d10e6cb0a334ea0a066de54be3d (patch) | |
tree | dbd1c911e2888cbe05c5a4a364044144567b2dcd /gcc/recog.c | |
parent | 898e4fdd21e1148353a34a49c5e7c2c4172811b1 (diff) | |
download | gcc-161b164781a41d10e6cb0a334ea0a066de54be3d.tar.gz |
* recog.c (split_all_insns_noflow): New.
* rtl.h (split_all_insns_noflow): Declare.
* ia64.c (ia64_reorg): Use split_all_insns_noflow.
* m68hc11.c (m68hc11_reorg): Likewise.
* sh.c (machine_dependent_reorg): Likewise.
* toplev.c (rest_of_compilation): Likewise for last split_all_insns
call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44312 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index b4b9b9d5bc2..c77bc4263bd 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -2777,6 +2777,22 @@ split_all_insns (upd_life) sbitmap_free (blocks); } + +/* Same as split_all_insns, but do not expect CFG to be available. + Used by machine depedent reorg passes. */ + +void +split_all_insns_noflow () +{ + rtx next, insn; + + for (insn = get_insns (); insn; insn = next) + { + next = NEXT_INSN (insn); + split_insn (insn); + } + return; +} #ifdef HAVE_peephole2 struct peep2_insn_data |