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] |
While working on a loop pass, I noticed that we were not pulling out the load
from a global variable from a loop where it obviously cannot alias anything in
the loop. This seems like it would hurt the vectorizer also.
This example comes from bzip2: unsigned short *q; #define NOSB 10 void h1(int last) { int i; for (i=0;i<last+NOSB;i++) q[i] = 0; }
Tree after lim:
Thanks, Andrew Pinski
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |