gcc/
	PR target/51244
	* config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
	negt_reg_operand cases.
	* config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
	predicate.
	* config/sh/predicates.md (cbranch_treg_value): Simplify.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210535 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-16  Dehao Chen  <dehao@google.com>

        * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use optimize_function_for_size_p.
        * regs.h (REG_FREQ_FROM_BB): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210536 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	PR target/54089
	* config/sh/predicates.md (negt_reg_shl31_operand): Match additional
	patterns.
	* config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210537 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-16  Dehao Chen  <dehao@google.com>

	* tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210538 138bc75d-0d04-0410-961f-82ee72b054a4