[llvm] [Offload] Remove unused KernelArgsTy instantiation (PR #167197)

Kevin Sala Penades via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 8 19:28:34 PST 2025


https://github.com/kevinsala created https://github.com/llvm/llvm-project/pull/167197

None

>From dfcd13fd9583dcbf78a138a075033b44868b2eb9 Mon Sep 17 00:00:00 2001
From: Kevin Sala <salapenades1 at llnl.gov>
Date: Fri, 7 Nov 2025 17:17:30 -0800
Subject: [PATCH] [Offload] Remove unused KernelArgsTy instantiation

---
 offload/include/omptarget.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/offload/include/omptarget.h b/offload/include/omptarget.h
index 89aa468689eaf..fbb4a06accf84 100644
--- a/offload/include/omptarget.h
+++ b/offload/include/omptarget.h
@@ -103,10 +103,6 @@ enum TargetAllocTy : int32_t {
   TARGET_ALLOC_DEFAULT,
 };
 
-inline KernelArgsTy CTorDTorKernelArgs = {
-    1,       0, nullptr,   nullptr,   nullptr,   nullptr, nullptr,
-    nullptr, 0, {0, 0, 0}, {1, 0, 0}, {1, 0, 0}, 0};
-
 struct DeviceTy;
 
 /// The libomptarget wrapper around a __tgt_async_info object directly



More information about the llvm-commits mailing list