sh.c (sh_can_use_simple_return_p): Enable with -freorder-blocks-and-partition.

* config/sh/sh.c (sh_can_use_simple_return_p): Enable with
        -freorder-blocks-and-partition.

From-SVN: r193362
This commit is contained in:
Christian Bruel 2012-11-09 15:32:55 +01:00
parent 4c3ee1f918
commit 962e3ae2aa
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2012-11-09 Christian Bruel <christian.bruel@st.com>
* config/sh/sh.c (sh_can_use_simple_return_p): Enable with
-freorder-blocks-and-partition.
2012-11-09 Kenneth Zadeck <zadeck@naturalbridge.com>
* rtl.h (CONST_SCALAR_INT_P): New macro.
@ -39,6 +44,7 @@
* config/i386/i386.c (release_scratch_register_on_entry): Also adjust
sp_offset manually.
>>>>>>> .r193360
2012-11-08 Christian Bruel <christian.bruel@st.com>
* tree-ssa-tail-merge.c (replace_block_by): Update bb2 profile count.

View file

@ -13330,10 +13330,6 @@ sh_can_use_simple_return_p (void)
if (optimize_function_for_size_p (cfun))
return false;
/* Can't optimize CROSSING_JUMPS for now. */
if (flag_reorder_blocks_and_partition)
return false;
/* Finally, allow for pr save. */
d = calc_live_regs (&live_regs_mask);