Displaying 2 results from an estimated 2 matches for "op_b".
Did you mean:
ip_b
2013 Mar 04
2
[LLVMdev] Unexpected DSAnalysis behavior
...ior of our automatic parallelization framework,
I found some, at least for me, unexpected behavior of the DataStructureAnalysis in Poolalloc.
Consider the following simplified program:
====================
int ARR[4] = {1, 2, 3, 4};
int a(int pos) {
return ARR[pos];
}
int sum(int op_a, int op_b) {
return a(op_a) + a(op_b);
}
int main(int argc, const char *argv[]) {
return sum(1, 3);
}
====================
The unexpected behavior is that the bottum-up-graphs (and consequently the top-down-graphs)
of methods sum and main do not contain any hint on the read of the global variable A...
2013 Mar 04
0
[LLVMdev] Unexpected DSAnalysis behavior
...some, at least for me, unexpected behavior of the
> DataStructureAnalysis in Poolalloc.
>
> Consider the following simplified program:
>
> ====================
> int ARR[4] = {1, 2, 3, 4};
>
> int a(int pos) {
> return ARR[pos];
> }
>
> int sum(int op_a, int op_b) {
> return a(op_a) + a(op_b);
> }
>
> int main(int argc, const char *argv[]) {
> return sum(1, 3);
> }
> ====================
>
> The unexpected behavior is that the bottum-up-graphs (and consequently
> the top-down-graphs)
> of methods sum and main do not...