Displaying 1 result from an estimated 1 matches for "critedge".
Did you mean:
crit_edge
2015 Feb 10
2
[LLVMdev] Should we add noduplicate attribute on the function which contains a noduplicate function call?
.../ some code
barrier();
// some code
}
__attribute__((noduplicate)) void barrier ();
void f () {
// some code
wait();
// some code
}
Sometimes I observed a phenomenon that SimplifyCFGPass would transform
function f to:
void f () {
// some code
wait();
// some code
critedge:
// some code
wait();
// some code
}
After the execution of AlwaysInliner, the function f would be:
void f () {
// some code
barrier();
// some code
critedge:
// some code
barrier();
// some code
}
It seems that barrier call is duplicated in function f. I am w...