]> granicus.if.org Git - llvm/commitdiff
removed unused private method decl. NFC
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 21 Nov 2017 17:53:19 +0000 (17:53 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 21 Nov 2017 17:53:19 +0000 (17:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318786 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/MemorySSA.cpp

index a0fb534a6c2899d1be7b1f5650ad017d4c181aea..d88088cfe134323953f4c7537ec37f65333e0c14 100644 (file)
@@ -260,10 +260,10 @@ static bool instructionClobbersQuery(MemoryDef *MD,
     }
   }
 
-  if (UseCS) {
+  /*if (UseCS) {
     ModRefInfo I = AA.getModRefInfo(DefInst, UseCS);
     return I != MRI_NoModRef;
-  }
+  }*/
 
   if (auto *DefLoad = dyn_cast<LoadInst>(DefInst)) {
     if (auto *UseLoad = dyn_cast<LoadInst>(UseInst)) {
@@ -892,7 +892,6 @@ class MemorySSA::CachingWalker final : public MemorySSAWalker {
   bool AutoResetWalker = true;
 
   MemoryAccess *getClobberingMemoryAccess(MemoryAccess *, UpwardsMemoryQuery &);
-  void verifyRemoved(MemoryAccess *);
 
 public:
   CachingWalker(MemorySSA *, AliasAnalysis *, DominatorTree *);