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: Dataflow question


Rask Ingemann Lambertsen wrote:
   I have a simple loop over the defs of an INSN, looking for the def of a
specific register X:

Should I just compare register numbers instead?

I think so, or maybe even use reg_overlap_mentioned_p. It depends what you're doing. For 4.4, it may be worth modifying df_find_def and df_find_use so that you can just use those.


Paolo


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