14 lines
385 B
C++
14 lines
385 B
C++
// Associated statement may be a compound `{ for (...) {} }` (split still finds the loop).
|
|
//
|
|
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -x c++ -fopenmp -fopenmp-version=60 -O0 -emit-llvm %s -o - | FileCheck %s
|
|
|
|
// CHECK-LABEL: define {{.*}} @f(
|
|
// CHECK: .split.iv
|
|
extern "C" void f(void) {
|
|
#pragma omp split counts(2, omp_fill)
|
|
{
|
|
for (int i = 0; i < 10; ++i) {
|
|
}
|
|
}
|
|
}
|