Frank Isamov <frank.isa...@gmail.com> writes:

>  1. Is it possible to add a machine dependent reorg pass at backend
>  level without changing the standard infrastructure? If so, can you
>  please point me such example? If no, may the new plugin architecture
>  help here?

See TARGET_MACHINE_DEPENDENT_REORG.

>  2. A peephole for such case just repeats instruction definition
>  pattern. As all information already available for such peephole,
>  wouldn’t it be useful to implement the pass to be a part of the
>  standard infrastructure?

See define_peephole and define_peephole2.  If that doesn't answer your
question, can you rephrase it?

Ian

Reply via email to