OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caca2b6
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77009
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/BasicBlockUtils.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/BasicBlockUtils.cpp
b/lib/Transforms/Utils/BasicBlockUtils.cpp
index
c4b3474
..
37988fa
100644
(file)
--- a/
lib/Transforms/Utils/BasicBlockUtils.cpp
+++ b/
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()) {