In the past few days have been a number of OpenMP-related commits to the Clang compiler by Alexey Bataev of Intel:
- Initial support for the reduction clause.
- Initial support for the "#pragma omp for".
- Reformatting and code improvements for OpenMP.
- Improved diagnostics messages for OpenMP.
- Initial support for the scheduler clause.
While there's this OpenMP-related work landing within LLVM trunk ahead of LLVM 3.5, there isn't yet full support for this multi-platform, shared memory, multi-processing programming API. Ideally we'll see it in LLVM/Clang 3.5 due out in August.
In response to a question on the LLVM mailing list, Alexey Bataev stated while there isn't yet working OpenMP support, "we'll try to add support of OpenMP in trunk ASAP."
For those interested in OpenMP for Clang, last month I ran some benchmarks of the out-of-tree LLVM Clang OpenMP support and compared the OMP performance to GCC in various multi-threaded benchmarks using this API in C/C++ workloads; Clang will be much more competitive to GCC on modern multi-core systems in the many scientific applications that take advantage of OpenMP.