[PATCH] sched: Do not reorder RTX_FRAME_RELATED_P insns (PR78029)

Bernd Schmidt bschmidt@redhat.com
Wed Oct 26 17:30:00 GMT 2016

On 10/26/2016 07:27 PM, Segher Boessenkool wrote:
> On Wed, Oct 26, 2016 at 03:13:06PM +0200, Bernd Schmidt wrote:
>> On 10/26/2016 03:05 PM, Segher Boessenkool wrote:
>>> 2) We do not necessarily have all notes yet, if the port lets dwarf2cfi
>>> create notes by itself.  Most (or even all?) ports do.
>> Hmm. Are you recording the insns in prologue_contains etc.? You could
>> add dependencies for a prologue insn following an epilogue insn.
> I am trying this, but should then every prologue insn following epilogue
> depend on all insns in that epilogue?  That goes quadratic, and we can
> have at least 30 or so insns in each :-/

The scheduler copes with worse when dealing with things like memory 
references. But yes, you need lists tracking all epilogue insns.


More information about the Gcc-patches mailing list