Skip to content
Commit a3924b51 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP][NVPTX]Use __kmpc_barrier_simple_spmd(nullptr, 0) instead of

nvvm_barrier0.

Use runtime functions instead of the direct call to the nvvm intrinsics.
It allows to prevent some dangerous LLVM optimizations, that breaks the
code for the NVPTX target.

llvm-svn: 350328
parent 16228bc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment