Page MenuHomePhabricator

[OpenMP] Add callback annotation to `__kmpc_parallel_51`
Needs ReviewPublic

Authored by jdoerfert on Sep 2 2021, 9:22 AM.

Details

Summary

Regardless of the linking of the device runtime we want to ensure the
__kmpc_parallel_51 will have callback annotations.

Depends on D102107.

Diff Detail

Unit TestsFailed

TimeTest
660 msx64 debian > Clang.OpenMP::nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
Script: -- : 'RUN: at line 2'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang -cc1 -internal-isystem /var/lib/buildkite-agent/builds/llvm-project/build/lib/clang/14.0.0/include -nostdsysteminc -x c++ -O1 -disable-llvm-optzns -verify -fopenmp -internal-isystem /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/../Headers/Inputs/include -internal-isystem /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/../../lib/Headers/openmp_wrappers -include __clang_openmp_device_functions.h -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/OpenMP/Output/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp.tmp-ppc-host.bc
730 msx64 debian > Clang.OpenMP::nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
Script: -- : 'RUN: at line 3'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang -cc1 -internal-isystem /var/lib/buildkite-agent/builds/llvm-project/build/lib/clang/14.0.0/include -nostdsysteminc -verify -fopenmp -fopenmp-cuda-mode -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/OpenMP/Output/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp.tmp-ppc-host.bc
1,010 msx64 debian > Clang.OpenMP::remarks_parallel_in_multiple_target_state_machines.c
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang -cc1 -internal-isystem /var/lib/buildkite-agent/builds/llvm-project/build/lib/clang/14.0.0/include -nostdsysteminc -verify=host -Rpass=openmp-opt -Rpass-analysis=openmp-opt -fopenmp -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/OpenMP/Output/remarks_parallel_in_multiple_target_state_machines.c.tmp-ppc-host.bc
950 msx64 debian > Clang.OpenMP::remarks_parallel_in_target_state_machine.c
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang -cc1 -internal-isystem /var/lib/buildkite-agent/builds/llvm-project/build/lib/clang/14.0.0/include -nostdsysteminc -verify=host -Rpass=openmp-opt -Rpass-analysis=openmp-opt -fopenmp -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/remarks_parallel_in_target_state_machine.c -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/OpenMP/Output/remarks_parallel_in_target_state_machine.c.tmp-ppc-host.bc
680 msx64 debian > LLVM.Transforms/OpenMP::custom_state_machines.ll
Script: -- : 'RUN: at line 2'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/opt -S -passes=openmp-opt < /var/lib/buildkite-agent/builds/llvm-project/llvm/test/Transforms/OpenMP/custom_state_machines.ll | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/llvm/test/Transforms/OpenMP/custom_state_machines.ll
View Full Test Results (14 Failed)