diff options
author | Jan Hubicka <jh@suse.cz> | 2008-08-08 10:04:51 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2008-08-08 10:04:51 +0000 |
commit | 68079a1beda57a110de72094a329bf5c101183a5 (patch) | |
tree | 0ff041ea1557ad221f15b8a44f72634292572329 /gcc/recog.c | |
parent | 8baca0b1af916e2f254a251e582bffe8a97a5a8d (diff) |
* recog.c (split_all_insns): Set RTL profile
(peephole2_optimize): Likewise.
* function.c (thread_prologue_and_epilogue_insns): Likewise.
* combine.c (combine_instructions): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@138863 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index cd47155ad4e..44d3b40b643 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -2672,6 +2672,7 @@ split_all_insns (void) rtx insn, next; bool finish = false; + rtl_profile_for_bb (bb); for (insn = BB_HEAD (bb); !finish ; insn = next) { /* Can't use `next_real_insn' because that might go across @@ -2714,6 +2715,7 @@ split_all_insns (void) } } + default_rtl_profile (); if (changed) find_many_sub_basic_blocks (blocks); @@ -2966,6 +2968,7 @@ peephole2_optimize (void) FOR_EACH_BB_REVERSE (bb) { + rtl_profile_for_bb (bb); /* Indicate that all slots except the last holds invalid data. */ for (i = 0; i < MAX_INSNS_PER_PEEP2; ++i) peep2_insn_data[i].insn = NULL_RTX; @@ -3182,6 +3185,7 @@ peephole2_optimize (void) } } + default_rtl_profile (); for (i = 0; i < MAX_INSNS_PER_PEEP2 + 1; ++i) BITMAP_FREE (peep2_insn_data[i].live_before); BITMAP_FREE (live); |