> From: Jeff Law [mailto:l...@redhat.com] > Sent: Wednesday, May 27, 2015 11:24 PM > Ah, OK. I was looking at the code prior to the call for > can_move_invariant_reg in move_invariant_reg which implies that DEST > can > be a subreg, but REG can not. > > But with that check in can_move_invariant_reg obviously won't matter. > It feels like we've likely got some dead code here, but that can be a > follow-up if you want to pursue.
Are you referring to the subreg code? It's used at the end of the function: inv->reg = reg; inv->orig_regno = regno; > > OK for the trunk. Thanks, committed. Best regards, Thomas