re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 3 Nov 2012 12:01:01 +0000 (12:01 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 3 Nov 2012 12:01:01 +0000 (12:01 +0000)
commit4aaf79c2cfeed3c57e923995a02fbe25d592bf25
treeef0d9e9173002423f55c425d4b7c49f155dccdfc
parent49503de9a9ccdfab8247742065896d59f48a9022
re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)

PR target/51244
* config/sh/sh.md (*cbranch_t): Allow splitting after reload.
Allow going beyond current basic block before reload when looking for
the reg set insn.
* config/sh/sh.c (sh_find_set_of_reg): Don't stop at labels.

PR target/51244
* gcc.target/sh/pr51244-18.c: New.
* gcc.target/sh/pr51244-19.c: New.

From-SVN: r193119
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/pr51244-18.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sh/pr51244-19.c [new file with mode: 0644]