summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-26 17:14:10 +0000
committerChris Lattner <sabre@nondot.org>2009-11-26 17:14:10 +0000
commit9aa846956efbc2d6621265d81209488c7414995c (patch)
tree0438c591ab1ae104c8f0d6c0b179c5de15ebce52 /llvm/lib
parent29f82a1465c4541eefb051111e169c29be129790 (diff)
downloadbcm5719-llvm-9aa846956efbc2d6621265d81209488c7414995c.tar.gz
bcm5719-llvm-9aa846956efbc2d6621265d81209488c7414995c.zip
this todo is resolved.
llvm-svn: 89957
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index 5f9d0370f50..37d5ad32870 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -1062,7 +1062,6 @@ const Value *llvm::DecomposeGEPExpression(const Value *V, int64_t &BaseOffs,
continue;
}
- // TODO: Could handle linear expressions here like A[X+1], also A[X*4|1].
uint64_t Scale = TD->getTypeAllocSize(*GTI);
unsigned Width = cast<IntegerType>(Index->getType())->getBitWidth();
OpenPOWER on IntegriCloud