| commit | 318f431beb1898a75d12701871c23785283cfd75 | [log] [tgz] |
|---|---|---|
| author | Alexey Bataev <a.bataev@hotmail.com> | Fri Mar 22 15:25:12 2019 +0000 |
| committer | Alexey Bataev <a.bataev@hotmail.com> | Fri Mar 22 15:25:12 2019 +0000 |
| tree | 55c81fcb1c10f11fa2818d9e81ecb4c98e2be095 | |
| parent | 6f0191a55a53a2ac337914d670fe3f127ac65b70 [diff] |
[OPENMP]Allow no allocator clause in target regions with requires dynamic_allocators. According to the OpenMP 5.0, 2.11.3 allocate Directive, Restrictions, allocate directives that appear in a target region must specify an allocator clause unless a requires directive with the dynamic_allocators clause is present in the same compilation unit. Patch adds a check for a presence of the requires directive with the dynamic_allocators clause. llvm-svn: 356758