summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3d5d5f2c6df1152832c6c63df07e08ac5b9bc272 (patch)
treec6836012256d2517187fbf27881d29b32338a929 /llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
parentada1f87988aa730eccb624686efd55ddfbb6de48 (diff)
downloadbcm5719-llvm-3d5d5f2c6df1152832c6c63df07e08ac5b9bc272.tar.gz
bcm5719-llvm-3d5d5f2c6df1152832c6c63df07e08ac5b9bc272.zip
REmove an old fixme, resolve another fixme by adding liberal
comments about what this class does. llvm-svn: 60264
Diffstat (limited to 'llvm/lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/MemoryDependenceAnalysis.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
index ef4440fbe76..45ca83ab58f 100644
--- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud