regrename: Use PC instead of CC0 to hide operands
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 1 Oct 2019 11:12:03 +0000 (13:12 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 1 Oct 2019 11:12:03 +0000 (13:12 +0200)
commit58e721d255c111b2ae012bb452cf39a0ee58ed27
tree59ab2b4f6d6c4597222a80185f9b13607e01b69b
parent4d07a2ece6603beaf3f9583ec5f6ae00b1df3148
regrename: Use PC instead of CC0 to hide operands

The regrename pass temporarily changes some operand RTL to CC0 so that
note_stores and scan_rtx don't see those operands.  CC0 is deprecated
and we want to remove it, so we need to use something else here.
PC fits the bill fine.

* regrename.c (hide_operands): Use pc_rtx instead of cc0_rtx.
(build_def_use): Use PC instead of CC0 in a comment.

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