This is the mail archive of the gcc-patches@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]

Re: PATCH: regno_first_use_in


On Wed, Mar 01, 2000 at 06:06:33PM +0000, Stan Cox wrote:
> This proposed patch adds regno_first_use_in as a complement to
> regno_use_in.  It searches X for the first reference to REGNO.  This
> can be used when building a def/use chain to find the use of REGNO in
> a SET_DEST if it also happens to appear in a SET_SRC.

Hurm.  I'd rather you simply change the iteration order in 
regno_use_in and documented the intent.  The two functions
are otherwise identical and it seems silly to duplicate it.


r~

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