[llvm-branch-commits] [llvm] 4cc56d2 - [MemorySSA] Remove unused declaration findDominatingDef (NFC)

Kazu Hirata via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 2 17:44:43 PST 2020


Author: Kazu Hirata
Date: 2020-12-02T17:40:20-08:00
New Revision: 4cc56d2b1975cb30c6ba5ea4e948905e11c8625e

URL: https://github.com/llvm/llvm-project/commit/4cc56d2b1975cb30c6ba5ea4e948905e11c8625e
DIFF: https://github.com/llvm/llvm-project/commit/4cc56d2b1975cb30c6ba5ea4e948905e11c8625e.diff

LOG: [MemorySSA] Remove unused declaration findDominatingDef (NFC)

The function definition was removed on Feb 22, 2017 in commit
17e8d0eae24ffa41cf7641d984c05e00d59b93a4.  The declaration has
remained since.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/MemorySSA.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/MemorySSA.h b/llvm/include/llvm/Analysis/MemorySSA.h
index e73af5f89ed6..a1511aa3ad34 100644
--- a/llvm/include/llvm/Analysis/MemorySSA.h
+++ b/llvm/include/llvm/Analysis/MemorySSA.h
@@ -857,7 +857,6 @@ class MemorySSA {
   template <typename AliasAnalysisType>
   MemoryUseOrDef *createNewAccess(Instruction *, AliasAnalysisType *,
                                   const MemoryUseOrDef *Template = nullptr);
-  MemoryAccess *findDominatingDef(BasicBlock *, enum InsertionPlace);
   void placePHINodes(const SmallPtrSetImpl<BasicBlock *> &);
   MemoryAccess *renameBlock(BasicBlock *, MemoryAccess *, bool);
   void renameSuccessorPhis(BasicBlock *, MemoryAccess *, bool);


        


More information about the llvm-branch-commits mailing list