DJ Delorie <d...@redhat.com> writes: > In this example, why isn't insn 117 scheduled before insn 115 ? What > is the dependency? The only thing they have in common is CC, but both > generate a value which is never used.
I don't see anything in sched-deps.c which prevents using a register for scheduling dependencies even if there is a REG_UNUSED note. Perhaps this is a bug. Or perhaps I'm missing something. In the debugger you should be able to use sd_debug_lists to dump all the dependency information for the insns. Ian