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]

loop.c: n_times_set, n_times_used


n_times_used denotes actually the number of times a register is set,
while n_times_set means different things depending on when you look.
However, strength reduction wants to know the number of times a register
is used, and picks the obvious choice of n_times_used - pity that it
doesn't work...

I propose that we rename n_times_set to set_in_loop and
n_times_used to n_times_set.  Then we are free to allocate an
n_times_used array in strength_reduce that actually does what the name
suggests.


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