brintos

brintos / llvm-project-archived public Read only

0
0
Text · 345 B · bc7529c Raw
12 lines · plain
1!RUN: bbc %openmp_flags -fopenmp-version=50 -emit-hlfir %s -o - | FileCheck %s2!RUN: %flang_fc1 -emit-hlfir %openmp_flags -fopenmp-version=50 %s -o - | FileCheck %s3 4!CHECK: omp.atomic.update memory_order(relaxed)5 6subroutine f05(x, v)7  integer :: x, v8  !$omp requires atomic_default_mem_order(acq_rel)9  !$omp atomic update10    x = x + 111end12