On Tue, Nov 13, 2018 at 02:16:09PM +1030, Alan Modra wrote: > REGs are unique. This patch recognizes that fact, speeding up rs6000 > gcc infinitesimally. Bootstrapped etc. powerpc64le-linux. OK?
Of course, fine for trunk. Thanks! Segher > * gcc/config/rs6000/rs6000.c (rs6000_legitimate_address_p): Replace > rtx_equal_p call for known REGs with pointer comparison. > (rs6000_secondary_reload_memory): Likewise. > (rs6000_secondary_reload_inner): Likewise.