https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117467
--- Comment #19 from Jeffrey A. Law <law at gcc dot gnu.org> --- Nuts. Busted most of the optimizations for rv64 with the change to the use side handling. I guess that's what I get for trying to generalize a pattern I was seeing -- I'd tested the ad-hoc variant on rv64, but not the more general one. I'll deal with it tomorrow, it's too late tonight.