Hi Renato,
Sorry, should have looked more carefully re small/large.
Could you change:
std::cerr << count << " spheres.";
to:
std::cout << count << " spheres.";
to make the output deterministic on all targets.
Otherwise, LGTM.
Robert
http://llvm-reviews.chandlerc.com/D3098