Hi,
I've been looking at GCC's profile information recently. I noticed that the
probabilities/counts effectively encode the expected niters of a loop, so e.g.
with the following testcase:
$ cat t.c
int *a;
void f() {
for (int i = 0; i < N; i++)
a[i] = i;
}
$ ./xgcc -B . -c -S -o /dev/null
ໄດ້ແລ້ວ
Hello,
I'm a computer science student at the Université Laval in Quebec City. I'm
currently following a course on compilers. We're learning semantic analysis at
this time and the course is based on the book Compilers: principles,
techniques & tools by Alfred V. Aho.
While learning L-attributed