1 // RUN: %clang_cc1 -verify -fopenmp -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc %s -o %t-ppc-host.bc
2 // RUN: %clang_cc1 -verify -fopenmp -x c++ -triple nvptx64-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm %s -fopenmp-is-target-device -fopenmp-host-ir-file-path %t-ppc-host.bc -o - | FileCheck %s
3 // expected-no-diagnostics
5 // CHECK: store ptr @{{.+}}, ptr [[FN:%[^,]+]],
6 // CHECK: [[MAP_FN:%.+]] = load ptr, ptr [[FN]]
7 // CHECK: call void [[MAP_FN]](ptr %
11 #pragma omp target map(tofrom \
16 #pragma omp task shared(a)