https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78633
--- Comment #12 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- Hmm... From https://gcc.gnu.org/onlinedocs/gccint/Sharing.html#Sharing the above patch looks wrong. Perhaps the splitter in problem might have to take care of subreg case even when referencing a reg rtx in the input operands.