Combine or peephole?

Steven Bosscher stevenb.gcc@gmail.com
Wed Apr 21 15:18:00 GMT 2010


On Wed, Apr 21, 2010 at 4:42 PM, Ian Lance Taylor <iant@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



More information about the Gcc mailing list