[Openmp-commits] [openmp] [openmp] Remove unused test utility (PR #161532)

Asher Mancinelli via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 1 08:01:33 PDT 2025


https://github.com/ashermancinelli created https://github.com/llvm/llvm-project/pull/161532

This test utility was showing up in -Wunused builds and I cannot find any references to it. Remove it.

>From 8894268ab09d2c4afc0be761e65e9bbaca80d69e Mon Sep 17 00:00:00 2001
From: Asher Mancinelli <ashermancinelli at gmail.com>
Date: Wed, 1 Oct 2025 07:58:10 -0700
Subject: [PATCH] [openmp] Remove unused function

This test utility was showing up in -Wunused builds and I cannot find
any references to it. Remove it.
---
 openmp/tools/omptest/src/OmptTester.cpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/openmp/tools/omptest/src/OmptTester.cpp b/openmp/tools/omptest/src/OmptTester.cpp
index afa96ac1d4b23..56b80fdf0d852 100644
--- a/openmp/tools/omptest/src/OmptTester.cpp
+++ b/openmp/tools/omptest/src/OmptTester.cpp
@@ -192,14 +192,6 @@ static void on_ompt_callback_work(ompt_work_t work_type,
                                         task_data, count, codeptr_ra);
 }
 
-static void on_ompt_callback_dispatch(ompt_data_t *parallel_data,
-                                      ompt_data_t *task_data,
-                                      ompt_dispatch_t kind,
-                                      ompt_data_t instance) {
-  OmptCallbackHandler::get().handleDispatch(parallel_data, task_data, kind,
-                                            instance);
-}
-
 static void on_ompt_callback_sync_region(ompt_sync_region_t kind,
                                          ompt_scope_endpoint_t endpoint,
                                          ompt_data_t *parallel_data,



More information about the Openmp-commits mailing list