From fd7f6d66090b29ebd283d9ae1dfacf0e604817f1 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 17 May 2023 20:49:31 -0700 Subject: [PATCH] [IPO] Remove unused declaration RemoveUnusedGlobalValue The corresponding function definition was removed by: commit 9071393c18e5264e3bbf3ca3f3584fa5f45be6c2 Author: Jay Foad Date: Thu Feb 17 14:17:36 2022 +0000 --- llvm/include/llvm/Transforms/IPO/GlobalDCE.h | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/include/llvm/Transforms/IPO/GlobalDCE.h b/llvm/include/llvm/Transforms/IPO/GlobalDCE.h index a24196e..1c01244 100644 --- a/llvm/include/llvm/Transforms/IPO/GlobalDCE.h +++ b/llvm/include/llvm/Transforms/IPO/GlobalDCE.h @@ -61,7 +61,6 @@ private: void UpdateGVDependencies(GlobalValue &GV); void MarkLive(GlobalValue &GV, SmallVectorImpl *Updates = nullptr); - bool RemoveUnusedGlobalValue(GlobalValue &GV); // Dead virtual function elimination. void AddVirtualFunctionDependencies(Module &M); -- 2.7.4