On Thu, Jan 19, 2023 at 7:33 PM Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> wrote: > > In the previously posted patch > "xtensa: Make complex hard register clobber elimination more robust and > accurate", > the check code for insns that refer to the [DS]Cmode hard register before > it is overwritten after it is clobbered is incomplete. Fortunately such > insns are seldom emitted, so it didn't matter. > > This patch fixes that for the sake of completeness. > > gcc/ChangeLog: > > * config/xtensa/xtensa.md: > Fix exit from loops detecting references before overwriting in the > split pattern. > --- > gcc/config/xtensa/xtensa.md | 72 +++++++++++++++++++------------------ > 1 file changed, 37 insertions(+), 35 deletions(-)
Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master with more human readable subject line. -- Thanks. -- Max