[clang] [llvm] [OpenMP][clang] Register Vtables on device for indirect calls (PR #159856)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 15: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
----------------
jhuber6 wrote:

These tests are probably way overcomplicated, we probably just need one target (I don't know if this has GPU specific behavior) then just autogenerate the test with `update_cc_test_checks` and probably just filter out globals you don't want to test.

https://github.com/llvm/llvm-project/pull/159856


More information about the llvm-commits mailing list