this todo is resolved.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-11-26 17:14:10 +00:00
parent e405c64f6b
commit 8fe8ac725b

View 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();