A question about sched_analyze_insn in sched-deps.c

Ian Lance Taylor iant@google.com
Wed Aug 10 15:57:00 GMT 2011


Revital Eres <revital.eres@linaro.org> writes:

> I appriciate explanation regarding the following piece of code in
> sched_analyze_insn function (sched-deps.c): When handling jump instruction
> dependence edges are created between the jump instruction and memory
> writes and volatile reads and I'm not quite sure the reason why.

Jump instructions can be conditional.  Note the check for whether the
next instruction is a barrier.

Ian



More information about the Gcc mailing list