Re: [PATCH] lra: A multiple_sets is not a simple_move_p (PR73650)

2016-08-15 Thread Segher Boessenkool
On Mon, Aug 15, 2016 at 09:37:34AM -0600, Jeff Law wrote: > On 08/12/2016 12:38 PM, Segher Boessenkool wrote: > >In the PR we have a PARALLEL of a move and a compare (a "mr." instruction). > >The compare is dead, so single_set on it returns just the move. Then, > >simple_move_p returns true; but t

Re: [PATCH] lra: A multiple_sets is not a simple_move_p (PR73650)

2016-08-15 Thread Jeff Law
On 08/12/2016 12:38 PM, Segher Boessenkool wrote: Hi! In the PR we have a PARALLEL of a move and a compare (a "mr." instruction). The compare is dead, so single_set on it returns just the move. Then, simple_move_p returns true; but the instruction does need reloads in this case. This patch sol

[PATCH] lra: A multiple_sets is not a simple_move_p (PR73650)

2016-08-12 Thread Segher Boessenkool
Hi! In the PR we have a PARALLEL of a move and a compare (a "mr." instruction). The compare is dead, so single_set on it returns just the move. Then, simple_move_p returns true; but the instruction does need reloads in this case. This patch solves this by making simple_move_p return false for ev