Enable omp_get_schedule() to return static steal type.
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Fri, 7 Oct 2016 18:01:35 +0000 (18:01 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Fri, 7 Oct 2016 18:01:35 +0000 (18:01 +0000)
commita1234cf28085ff797fd082a466efaa7e80325d26
tree14417ce7456b38f40005c2ded97aa36a23355a82
parent4326c4ac8f72658ccd378d5abd569cc7004d3a9a
Enable omp_get_schedule() to return static steal type.

As the code is now, calling omp_get_schedule() when OMP_SCHEDULE=static_steal
will cause an assert.

llvm-svn: 283576
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_runtime.c
openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c [new file with mode: 0644]