[llvm] 7ae3db6 - [OpenMP] Fix leftover use of removed function

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 11:43:20 PST 2022


Author: Joseph Huber
Date: 2022-12-20T13:43:00-06:00
New Revision: 7ae3db66e8a350ce3131fa3f1a19825be3c35d61

URL: https://github.com/llvm/llvm-project/commit/7ae3db66e8a350ce3131fa3f1a19825be3c35d61
DIFF: https://github.com/llvm/llvm-project/commit/7ae3db66e8a350ce3131fa3f1a19825be3c35d61.diff

LOG: [OpenMP] Fix leftover use of removed function

Summary:
Didn't notice this one floating around as it was still cached somewhere.
Delete it.

Added: 
    

Modified: 
    llvm/lib/Transforms/IPO/OpenMPOpt.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
index b8acf16d8670..f78422ff7d7d 100644
--- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -4776,7 +4776,6 @@ void OpenMPOpt::registerAAs(bool IsModulePass) {
         OMPInfoCache.RFIs[OMPRTL___kmpc_target_init];
     InitRFI.foreachUse(SCC, CreateKernelInfoCB);
 
-    registerFoldRuntimeCall(OMPRTL___kmpc_is_generic_main_thread_id);
     registerFoldRuntimeCall(OMPRTL___kmpc_is_spmd_exec_mode);
     registerFoldRuntimeCall(OMPRTL___kmpc_parallel_level);
     registerFoldRuntimeCall(OMPRTL___kmpc_get_hardware_num_threads_in_block);


        


More information about the llvm-commits mailing list