this todo is resolved.
authorChris Lattner <sabre@nondot.org>
Thu, 26 Nov 2009 17:14:10 +0000 (17:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Nov 2009 17:14:10 +0000 (17:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89957 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ValueTracking.cpp

index 5f9d0370f5088d1a48a16a5c94baea3d2c297d23..37d5ad328701f962e5c9fe1494ac42e28f03d1e2 100644 (file)
@@ -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();