diff options
author | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2021-09-02 14:17:07 +0000 |
---|---|---|
committer | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2021-09-02 14:31:19 +0000 |
commit | 711aa35759e76f424fe617542dcb8653bf781f53 (patch) | |
tree | 3fb7635ab8f81acf5281ce5da46d4cadb4ac0611 /llvm/unittests/ADT/StringMapTest.cpp | |
parent | 30d6c39bca6cf5b2a9a166fb04954cfcd7b34dec (diff) | |
download | llvm-711aa35759e76f424fe617542dcb8653bf781f53.zip llvm-711aa35759e76f424fe617542dcb8653bf781f53.tar.gz llvm-711aa35759e76f424fe617542dcb8653bf781f53.tar.bz2 |
[MLIR][OpenMP] Add support for declaring critical construct names
Add an operation omp.critical.declare to declare names/symbols of
critical sections. Named omp.critical operations should use symbols
declared by omp.critical.declare. Having a declare operation ensures
that the names of critical sections are global and unique. In the
lowering flow to LLVM IR, the OpenMP IRBuilder creates unique names
for critical sections.
Reviewed By: ftynse, jeanPerier
Differential Revision: https://reviews.llvm.org/D108713
Diffstat (limited to 'llvm/unittests/ADT/StringMapTest.cpp')
0 files changed, 0 insertions, 0 deletions