Paul Koning <paulkon...@comcast.net> writes: > On Oct 1, 2019, at 5:14 AM, Segher Boessenkool <seg...@kernel.crashing.org> > wrote: >> >> 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. > > CC0 is, presumably, not part of GENERAL_REGS, but PC is, in some ports. Does > that cause a problem here?
"PC" here is the special rtx pc_rtx, which represents (pc) rather than a (reg ...). It's distinct from real PC registers like r15 on AArch32. Richard