diff options
| author | Nuno Lopes <nunoplopes@sapo.pt> | 2017-11-21 17:53:19 +0000 |
|---|---|---|
| committer | Nuno Lopes <nunoplopes@sapo.pt> | 2017-11-21 17:53:19 +0000 |
| commit | 5c122882ed18dc9159eb7373079bc74383e9abcc (patch) | |
| tree | f0acca0e66742fce94e5756ad9a71520761db6db /llvm/lib | |
| parent | 14e8a5a32d8f34b5154f24072fb7a8803ea52ae3 (diff) | |
| download | bcm5719-llvm-5c122882ed18dc9159eb7373079bc74383e9abcc.tar.gz bcm5719-llvm-5c122882ed18dc9159eb7373079bc74383e9abcc.zip | |
removed unused private method decl. NFC
llvm-svn: 318786
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/MemorySSA.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/MemorySSA.cpp b/llvm/lib/Analysis/MemorySSA.cpp index a0fb534a6c2..d88088cfe13 100644 --- a/llvm/lib/Analysis/MemorySSA.cpp +++ b/llvm/lib/Analysis/MemorySSA.cpp @@ -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 *); |

