aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ValueTracking.cpp
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
commite8836c5fe676c088a0f9f0600eeaf44e18924471 (patch)
treec9c01b7a62cb58650bd71335f965278361427656 /lib/Analysis/ValueTracking.cpp
parentdd824f5233a7a96e416ed36f05b59d997ed92926 (diff)
downloadexternal_llvm-e8836c5fe676c088a0f9f0600eeaf44e18924471.zip
external_llvm-e8836c5fe676c088a0f9f0600eeaf44e18924471.tar.gz
external_llvm-e8836c5fe676c088a0f9f0600eeaf44e18924471.tar.bz2
this todo is resolved.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ValueTracking.cpp')
-rw-r--r--lib/Analysis/ValueTracking.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Analysis/ValueTracking.cpp b/lib/Analysis/ValueTracking.cpp
index 5f9d037..37d5ad3 100644
--- a/lib/Analysis/ValueTracking.cpp
+++ b/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();