[llvm] r318786 - removed unused private method decl. NFC
Nuno Lopes via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 09:53:19 PST 2017
Author: nlopes
Date: Tue Nov 21 09:53:19 2017
New Revision: 318786
URL: http://llvm.org/viewvc/llvm-project?rev=318786&view=rev
Log:
removed unused private method decl. NFC
Modified:
llvm/trunk/lib/Analysis/MemorySSA.cpp
Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=318786&r1=318785&r2=318786&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
+++ llvm/trunk/lib/Analysis/MemorySSA.cpp Tue Nov 21 09:53:19 2017
@@ -260,10 +260,10 @@ static bool instructionClobbersQuery(Mem
}
}
- 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 : p
bool AutoResetWalker = true;
MemoryAccess *getClobberingMemoryAccess(MemoryAccess *, UpwardsMemoryQuery &);
- void verifyRemoved(MemoryAccess *);
public:
CachingWalker(MemorySSA *, AliasAnalysis *, DominatorTree *);
More information about the llvm-commits
mailing list