Displaying 1 result from an estimated 1 matches for "01691c87".
2017 Jul 09
2
Loop branching inefficiencies in Backend output
Hi,
I am working on a custom backend, and I am trying to figure out how to deal
with some branching inefficiencies in my output code, and the best way to
fix it.
So, let's say I am compiling a small function that takes the sum of an
array.
int loop(int* array, int n) {
int ret = 0;
for (int i = 0; i < n; i++) {
ret += array[i];
}
return ret;
}
The problem I am having is that