------- Comment #16 from jakub at gcc dot gnu dot org  2007-10-28 19:42 -------
Haven't analyzed why exactly there are so many more safe_group_barrier_needed
calls, but they are certainly much more common than direct group_barrier_needed
calls on this testcase (14579701 safe_group_barrier_needed calls,
14604168 group_barrier_needed calls).  But if so, the only thing that call
cares about is the return value, all the state is thrown away.  From what I see
the need_barrier retval is ored together from all the recursive calls, couldn't
we gain something by just returning 1 immediately whenever one of the recursive
calls returned non-zero?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33922

Reply via email to