summaryrefslogtreecommitdiff
path: root/lib/Analysis/Loads.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-19 22:54:46 +0000
committerDan Gohman <gohman@apple.com>2010-10-19 22:54:46 +0000
commit3da848bbda62b25c12335998aaa44ab361f0bf15 (patch)
treedc1f3f7581fede379da986ef29041c892f3b545b /lib/Analysis/Loads.cpp
parent5ee568ac2704d7302017d42ad162d4b53d076cbc (diff)
downloadllvm-3da848bbda62b25c12335998aaa44ab361f0bf15.tar.gz
llvm-3da848bbda62b25c12335998aaa44ab361f0bf15.tar.bz2
llvm-3da848bbda62b25c12335998aaa44ab361f0bf15.tar.xz
Reapply r116831 and r116839, converting AliasAnalysis to use
uint64_t, plus fixes for places I missed before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/Loads.cpp')
-rw-r--r--lib/Analysis/Loads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/Loads.cpp b/lib/Analysis/Loads.cpp
index 2ba1d86cdb..b1f2cb41cd 100644
--- a/lib/Analysis/Loads.cpp
+++ b/lib/Analysis/Loads.cpp
@@ -166,7 +166,7 @@ Value *llvm::FindAvailableLoadedValue(Value *Ptr, BasicBlock *ScanBB,
if (MaxInstsToScan == 0) MaxInstsToScan = ~0U;
// If we're using alias analysis to disambiguate get the size of *Ptr.
- unsigned AccessSize = 0;
+ uint64_t AccessSize = 0;
if (AA) {
const Type *AccessTy = cast<PointerType>(Ptr->getType())->getElementType();
AccessSize = AA->getTypeStoreSize(AccessTy);