Page MenuHomePhabricator

[OpenMP][3/3] Introduce the KernelEnvironment into Clang tests
AcceptedPublic

Authored by jdoerfert on Jan 9 2022, 7:16 PM.

Details

Summary

Since Clang uses the OpenMP-IR-Builder to create kernels, the
introduction of the KernelEnvironment in the middle-end will require all
GPU tests to be updated. This was done mostly via the script.
Only test changes are include and no other Clang changes are expected.

Diff Detail

Unit TestsFailed

TimeTest
130 msx64 debian > Clang.OpenMP::declare_target_codegen_globalization.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 -verify -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/declare_target_codegen_globalization.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/OpenMP/Output/declare_target_codegen_globalization.cpp.tmp-ppc-host.bc
230 msx64 debian > Clang.OpenMP::distribute_parallel_for_simd_firstprivate_codegen.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 -DLAMBDA -verify -fopenmp -x c++ -std=c++11 -triple powerpc64le-unknown-unknown -fopenmp-targets=powerpc64le-ibm-linux-gnu -emit-llvm /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp -o - -Wno-openmp-mapping | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck --allow-unused-prefixes /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp --check-prefix=CHECK1
190 msx64 debian > Clang.OpenMP::nvptx_data_sharing.cpp
Script: -- : 'RUN: at line 5'; /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 -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_data_sharing.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/OpenMP/Output/nvptx_data_sharing.cpp.tmp-ppc-host.bc
410 msx64 debian > Clang.OpenMP::nvptx_distribute_parallel_generic_mode_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 -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_distribute_parallel_generic_mode_codegen.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/OpenMP/Output/nvptx_distribute_parallel_generic_mode_codegen.cpp.tmp-ppc-host.bc
980 msx64 debian > Clang.OpenMP::nvptx_lambda_capturing.cpp
Script: -- : 'RUN: at line 5'; /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 -fopenmp -x c++ -std=c++11 -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/nvptx_lambda_capturing.cpp -o - | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck --allow-unused-prefixes /var/lib/buildkite-agent/builds/llvm-project/clang/test/OpenMP/nvptx_lambda_capturing.cpp --check-prefix=CHECK1
View Full Test Results (38 Failed)

Event Timeline

jdoerfert created this revision.Jan 9 2022, 7:16 PM
jdoerfert requested review of this revision.Jan 9 2022, 7:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 9 2022, 7:16 PM
jhuber6 accepted this revision.Jan 21 2022, 3:52 PM

LGTM if it passes all the tests.

This revision is now accepted and ready to land.Jan 21 2022, 3:52 PM