]> git.ipfire.org Git - thirdparty/gcc.git/commit
SH: Fix outage caused by recently added 2nd combine pass after reg alloc
authorOleg Endo <olegendo@gcc.gnu.org>
Sun, 21 Jul 2024 05:11:21 +0000 (14:11 +0900)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 21 Jul 2024 05:30:58 +0000 (14:30 +0900)
commit58b78cf068b3b24c11d7812a5f4de865e9cdb8b4
treeee2dd0262a92b01fcdaf95065f012797504ed2b6
parent6d811c15e622572749a2e84d3884cb5ce3296578
SH: Fix outage caused by recently added 2nd combine pass after reg alloc

I've also confirmed on the CSiBE set that the secondary combine pass is
actually beneficial on SH.  It does result in some code size reductions.

gcc/CHangeLog:
* config/sh/sh.md (mov_neg_si_t): Allow insn and split after
register allocation.
(*treg_noop_move): New insn.
gcc/config/sh/sh.md