On Fri, Oct 23, 2020 at 07:18:44PM -0400, Hans-Peter Nilsson wrote: > On Thu, 22 Oct 2020, Alan Modra via Gcc-patches wrote: > > /* (reg) is costed at zero by rtlanal.c:rtx_cost. That sets a > > baseline for rtx costs: If a constant is valid in an insn, > > it is free. */ > > >From where is this quote? My "git grep" fails to find it for me > (on master). It seems like a port-specific commment so I'd > have expected to find it somewhere in config/rs6000.
It's in a patch in the rs6000_rtx_costs series that hasn't yet been committed. https://gcc.gnu.org/pipermail/gcc-patches/2020-October/555757.html -- Alan Modra Australia Development Lab, IBM