[llvm-branch-commits] [llvm] fd78012 - [MemorySSA] Remove unused declaration optimizeUses (NFC)

Kazu Hirata via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 10 20:59:42 PST 2020


Author: Kazu Hirata
Date: 2020-12-10T20:54:37-08:00
New Revision: fd78012b9e592d1d5e1904cf2dbfdb1a17b803a4

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

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

The declaration was introduced on Aug 2, 2016 in commit
c43aa5a5b62b21c1d38cd3d2ece7d0d5124d5180 without a corresponding
definition.

Note that we do have a definition for
MmeorySSA::OptimizeUses::optimizeUses but not for
MmeorySSA::optimizeUses.

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 fc9d6d730635..759024c22f80 100644
--- a/llvm/include/llvm/Analysis/MemorySSA.h
+++ b/llvm/include/llvm/Analysis/MemorySSA.h
@@ -841,7 +841,6 @@ class MemorySSA {
 
   CachingWalker<AliasAnalysis> *getWalkerImpl();
   void buildMemorySSA(BatchAAResults &BAA);
-  void optimizeUses();
 
   void prepareForMoveTo(MemoryAccess *, BasicBlock *);
   void verifyUseInDefs(MemoryAccess *, MemoryAccess *) const;


        


More information about the llvm-branch-commits mailing list