> Unless I'm missing something, this is going all the way down to the end
> of the function, bypassing the CFG, so it is neither efficient nor correct.

No, gen_ functions doesn't emit the instructions.

> For DSE you should set up backwards liveness simulation, and use that
> instead of note_stores and insn scanning.

DSE already does this sort of insn scanning.

-- 
Eric Botcazou

Reply via email to