HomePhabricator

[OPENMP]Add check for undefined behavior with thread allocators on

Description

[OPENMP]Add check for undefined behavior with thread allocators on
target and task-based directives.

According to OpenMP 5.0, 2.11.4 allocate Clause, Restrictions, For task,
taskloop or target directives, allocation requests to memory allocators
with the trait access set to thread result in unspecified behavior.
Patch introduces a check for omp_thread_mem_alloc predefined allocator
on target- and trask-based directives.

Details

Committed
ABataevMar 28 2019, 12:15 PM
Parents
rL357204: [SLP][X86] Add tests showing failure to commute icmp/fcmp by swapping predicate
Branches
Unknown
Tags
Unknown