On Wed, Apr 21, 2010 at 4:42 PM, Ian Lance Taylor <i...@google.com> wrote: >> 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?
See define_peephole2 and ignore define_peephole if you can. Text peepholes are not the way to go. Ciao! Steven