grokos accepted this revision. grokos added a comment. This revision is now accepted and ready to land. I think this looks good. Definitely a correct implementation compared to what we have now! Repository: rOMP OpenMP https://reviews.llvm.org/D47333