diff options
| author | Duncan Sands <baldrick@free.fr> | 2009-05-09 07:06:46 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2009-05-09 07:06:46 +0000 |
| commit | af9eaa830a9e866f61b6e59b448712de52dced25 (patch) | |
| tree | a34b5c08eae117510ce50dc9f05b6f3e9b6d8e3e /llvm/lib/Analysis/ValueTracking.cpp | |
| parent | 6631d7c4be2041b15c5f187d1f144f2de7182cb7 (diff) | |
| download | bcm5719-llvm-af9eaa830a9e866f61b6e59b448712de52dced25.tar.gz bcm5719-llvm-af9eaa830a9e866f61b6e59b448712de52dced25.zip | |
Rename PaddedSize to AllocSize, in the hope that this
will make it more obvious what it represents, and stop
it being confused with the StoreSize.
llvm-svn: 71349
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 20fa69ea24f..c4f6faf612f 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -459,7 +459,7 @@ void llvm::ComputeMaskedBits(Value *V, const APInt &Mask, const Type *IndexedTy = GTI.getIndexedType(); if (!IndexedTy->isSized()) return; unsigned GEPOpiBits = Index->getType()->getPrimitiveSizeInBits(); - uint64_t TypeSize = TD ? TD->getTypePaddedSize(IndexedTy) : 1; + uint64_t TypeSize = TD ? TD->getTypeAllocSize(IndexedTy) : 1; LocalMask = APInt::getAllOnesValue(GEPOpiBits); LocalKnownZero = LocalKnownOne = APInt(GEPOpiBits, 0); ComputeMaskedBits(Index, LocalMask, |

