diff options
author | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2021-07-27 22:06:39 +0100 |
---|---|---|
committer | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2021-08-03 10:50:21 +0100 |
commit | 59989d68ba065b8dc1909d525dfd135d9e3c0206 (patch) | |
tree | b68bad0cc13d8490086c57ff7534fffe9e76e658 /llvm/tools/llvm-objcopy/ELF/Object.cpp | |
parent | cba6aab9715988b522c21b0e04a7d9b888a81394 (diff) | |
download | llvm-59989d68ba065b8dc1909d525dfd135d9e3c0206.zip llvm-59989d68ba065b8dc1909d525dfd135d9e3c0206.tar.gz llvm-59989d68ba065b8dc1909d525dfd135d9e3c0206.tar.bz2 |
[MLIR][OpenMP] Add support for critical construct
This patch adds the critical construct to the OpenMP dialect. The
implementation models the definition in 2.17.1 of the OpenMP 5 standard.
A name and hint can be specified. The name is a global entity or has
external linkage, it is modelled as a FlatSymbolRefAttr. Hint is
modelled as an integer enum attribute.
Also lowering to LLVM IR using the OpenMP IRBuilder.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D107135
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions