[llvm] [Offload]: Skip copying of unused kernel-mapped data (PR #124723)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 13 15:34:18 PST 2025
================
@@ -0,0 +1,83 @@
+// clang-format off
+// RUN: %libomptarget-compilexx-generic
+// RUN: env LIBOMPTARGET_INFO=128 %libomptarget-run-generic 2>&1 \
+// RUN: | %fcheck-generic
+
+// REQUIRES: gpu
+// clang-format on
+
+int main() {
+ float DataStack = 0;
+
+// CHECK-NOT: omptarget device 0 info: from(unknown)[4] is not used and will not
----------------
pradt2 wrote:
Done
https://github.com/llvm/llvm-project/pull/124723
More information about the llvm-commits
mailing list