[llvm] [Offload] Remove unused KernelArgsTy instantiation (PR #167197)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 8 19:29:07 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-offload
Author: Kevin Sala Penades (kevinsala)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/167197.diff
1 Files Affected:
- (modified) offload/include/omptarget.h (-4)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/167197
More information about the llvm-commits
mailing list