This patch adds support for translation of the OpenMP barrier construct to LLVM IR. The OpenMP IRBuilder is used for this translation. In this patch the code for translation is added to the existing LLVM dialect translation to LLVM IR.
The patch includes code changes and a testcase.
Why are these changes necessary? The code doesn't seem to be modifying the tutorial.