[clang] [llvm] [OpenMP][clang] Register Vtables on device for indirect calls (PR #159856)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 22 12:47:13 PDT 2025
================
@@ -0,0 +1,280 @@
+///==========================================================================///
+// RUN: %clang_cc1 -DCK1 -verify -fopenmp -Wno-openmp-mapping -x c++ -triple x86_64-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -fopenmp-cuda-mode -emit-llvm-bc %s -o %t-ppc-host.bc -fopenmp-version=52
----------------
Jason-VanBeusekom wrote:
In https://github.com/llvm/llvm-project/pull/159856/commits/d86188bfccd09f67bee877e93b72427ca07856a4 I split up `clang/test/OpenMP/target_vtable_codegen.cpp` into multiple subtests, I tried to auto generate the checks with `update_cc_test_checks`, however I ran into issues of the script generating invalid tests where It did not filter out the non Vtable checks and/or placed the check lines in the wrong order / place.
I'm not sure if this is due to my lack of knowledge of the test script, or if the script is lacking in features to handle this case.
https://github.com/llvm/llvm-project/pull/159856
More information about the llvm-commits
mailing list