https://github.com/iii-i commented: Thanks for working on this! I had a brief look and besides some typos I haven't spotted anything. `__kmp_invoke_microtask()` is the most involved piece, and it looks correct to me. https://github.com/llvm/llvm-project/pull/66081