This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with peephole to peephole2 conversion


> Do you mean the source code?  A hint: grep ^func_name *.c will get to it
> for every function in gcc.
> 
> In this case it is in recog.c, look at peep2_reg_dead_p but also
> peep2_regno_dead_p.  There are other peep2_* functions you may use.
> 
> Paolo

I am sorry.. I think u got me wrong. I have had a look at the source
code. I am actually trying to find out WHY and WHEN peep2_reg_dead_p
was introduced. I checked the mailing list but dint find anything
relavent. Are cleanliness of the code and compile time efficiency the
only reasons? I mean is that why they introduced peep2_reg_dead_p?

Ashwin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]