regrename: Don't rename restores
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 12 Oct 2016 15:23:11 +0000 (17:23 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 12 Oct 2016 15:23:11 +0000 (17:23 +0200)
commitd73c92c9f2297c57153beced2475ed79e0d0736b
treebf4ef45290eb7a87c261dac5fc92ecd751a50c82
parentaab648a9fcf8c222ab43612915d11b093e11849d
regrename: Don't rename restores

A restore is supposed to restore some certain register.  Restoring it
into some other register will not work.  Don't.

* regrename.c (build_def_use): Invalidate chains that have a
REG_CFA_RESTORE on some instruction.

From-SVN: r241061
gcc/ChangeLog
gcc/regrename.c