projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01740ab
)
AliasAnalysis wants sizes in address-units, not bits.
author
Dan Gohman
<gohman@apple.com>
Fri, 24 Jul 2009 23:01:30 +0000
(23:01 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 24 Jul 2009 23:01:30 +0000
(23:01 +0000)
llvm-svn: 77009
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
index c4b3474d990119c3f7e516d6e421eafa8d3e830a..37988faeed55b5e913d7270151ea91a54af4b0e3 100644
(file)
--- a/
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
+++ b/
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
@@
-540,7
+540,7
@@
Value *llvm::FindAvailableLoadedValue(Value *Ptr, BasicBlock *ScanBB,
unsigned AccessSize = 0;
if (AA) {
const Type *AccessTy = cast<PointerType>(Ptr->getType())->getElementType();
- AccessSize = AA->getTargetData().getTypeStoreSize
InBits
(AccessTy);
+ AccessSize = AA->getTargetData().getTypeStoreSize(AccessTy);
}
while (ScanFrom != ScanBB->begin()) {