aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-30 01:17:08 +0000
committerChris Lattner <sabre@nondot.org>2008-11-30 01:17:08 +0000
commit0e0a5b690ca772a9002d8e8d21edac5f011bc7e8 (patch)
treef135ed2ceefccc3ba345f8017558dbea1290e210 /lib/Analysis/MemoryDependenceAnalysis.cpp
parent125ce362693350ebe713b58c92a9c0ced26680ea (diff)
REmove an old fixme, resolve another fixme by adding liberal
comments about what this class does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp
index ef4440fbe7..45ca83ab58 100644
--- a/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -153,7 +153,6 @@ getNonLocalDependency(Instruction *QueryInst,
if (DirtyBBEntry.getInt() != Dirty) continue;
// Find out if this block has a local dependency for QueryInst.
- // FIXME: If the dirty entry has an instruction pointer, scan from it!
// FIXME: Don't convert back and forth for MemDepResult <-> DepResultTy.
// If the dirty entry has a pointer, start scanning from it so we don't have
@@ -234,7 +233,6 @@ getDependencyFrom(Instruction *QueryInst, BasicBlock::iterator ScanIt,
// MemDep is broken w.r.t. loads: it says that two loads of the same pointer
// depend on each other. :(
- // FIXME: ELIMINATE THIS!
if (LoadInst *L = dyn_cast<LoadInst>(Inst)) {
Value *Pointer = L->getPointerOperand();
uint64_t PointerSize = TD.getTypeStoreSize(L->getType());