Hi Jeff,

On Tue, Jul 18, 2017 at 11:17:48PM -0600, Jeff Law wrote:
> It turns out combine-stack-adjustments would take
> 
> allocate PROBE_INTERVAL
> probe
> allocate PROBE_INTERVAL
> probe
> allocate PROBE_INTERVAL
> probe
> allocate RESIDUAL
> 
> And turn that into
> 
> allocate (3 * PROBE_INTERVAL) + residual
> probe
> probe
> probe
> 
> Adjusting the address of the probes appropriately.  Ugh.
> 
> This patch introduces a new note that the backend can attach to a stack
> adjustment which essentially tells c-s-a to not merge it into other
> adjustments.  THere's an x86 specific test to verify behavior.

Can only combine-stack-adjustments do this?  It seems like something
many passes could do, and then your new note doesn't help.


Segher

Reply via email to