Hello, I wonder how the instruction scheduler deals with debug_insn? Looking at how SMS handles notes I wonder if this mechanism is adopted to handle debug_insn in other schedulers: notes are ignored during the scheduling procedure and are carefully placed before the instruction that follow them in the original order of the loop after the scheduling is done.
Thanks, Revital