This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
loop.c: n_times_set, n_times_used
- To: egcs at cygnus dot com, gcc2 at gnu dot org
- Subject: loop.c: n_times_set, n_times_used
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Fri, 11 Dec 1998 00:02:37 +0000 (GMT)
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.