On Sat, Oct 15, 2016 at 07:55:47AM -0400, David Edelsohn wrote: > Maybe rs6000 always should prefer inline save-restore when SWS is > enabled, except for optimize_size?
Yes, that would be a good optimization probably. try_shrink_wrapping_separate already does nothing unless you have optimize_function_for_speed_p (cfun), so that will do what you want already. Segher