llvm-project/mlir
Shraiysh Vaishay c4c7e06bd7 [MLIR][OpenMP] Shifted hint from CriticalOp to CriticalDeclareOp
According to the OpenMP 5.0 standard, names and hints of critical operation are
closely related. The following are the restrictions on them:
 - Unless the effect is as if `hint(omp_sync_hint_none)` was specified, the
   critical construct must specify a name.
 - If the hint clause is specified, each of the critical constructs with the
   same name must have a hint clause for which the hint-expression evaluates to
   the same value.

These restrictions will be enforced by design if the hint expression is a part
of the `omp.critical.declare` operation.
 - Any operation with no "name" will be considered to have
   `hint(omp_sync_hint_none)`.
 - All the operations with the same "name" will have the same hint value.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D112134
2021-10-20 21:36:09 +05:30
..
cmake/modules Add MLIR_INSTALL_AGGREGATE_OBJECTS and default it to ON. 2021-10-19 16:14:04 -07:00
docs [mlir][docs] Fix name of get arith->LLVM patterns in docs 2021-10-18 16:04:17 +00:00
examples [MLIR][arith] fix references to std.constant in comments 2021-10-14 20:38:47 +00:00
include [MLIR][OpenMP] Shifted hint from CriticalOp to CriticalDeclareOp 2021-10-20 21:36:09 +05:30
lib [MLIR][OpenMP] Shifted hint from CriticalOp to CriticalDeclareOp 2021-10-20 21:36:09 +05:30
python [mlir][python] Fix MemRefType IsAFunction in Python bindings 2021-10-14 13:12:37 +02:00
test [MLIR][OpenMP] Shifted hint from CriticalOp to CriticalDeclareOp 2021-10-20 21:36:09 +05:30
tools [mlir] Expand prefixing to OpFormatGen 2021-10-20 07:08:37 -07:00
unittests [mlir][RFC] Refactor layout representation in MemRefType 2021-10-19 12:31:15 +03:00
utils [mlir][spirv] Add memory semantics verify for atomic operations 2021-10-14 00:00:55 +08:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
CMakeLists.txt Add MLIR_INSTALL_AGGREGATE_OBJECTS and default it to ON. 2021-10-19 16:14:04 -07:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.