aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/MemoryDependenceAnalysis.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-11-11 00:20:27 +0000
committerDan Gohman <gohman@apple.com>2010-11-11 00:20:27 +0000
commitec9b4ac914e91791c580148cf8068c82d4b2cb91 (patch)
treeaff1764c3cd2eafe635932965925883592794972 /include/llvm/Analysis/MemoryDependenceAnalysis.h
parent1e8e72d72a71ec3fb6c81bd35a34261f34436900 (diff)
downloadexternal_llvm-ec9b4ac914e91791c580148cf8068c82d4b2cb91.tar.gz
external_llvm-ec9b4ac914e91791c580148cf8068c82d4b2cb91.tar.bz2
external_llvm-ec9b4ac914e91791c580148cf8068c82d4b2cb91.zip
Set NonLocalDepInfo's Size field to UnknownSize when invalidating
it, so that it doesn't appear to be a known size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryDependenceAnalysis.h')
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index c1a1536037..cc34992b45 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -234,7 +234,7 @@ namespace llvm {
/// pointer. May be null if there are no tags or conflicting tags.
const MDNode *TBAATag;
- NonLocalPointerInfo() : Size(0), TBAATag(0) {}
+ NonLocalPointerInfo() : Size(AliasAnalysis::UnknownSize), TBAATag(0) {}
};
/// CachedNonLocalPointerInfo - This map stores the cached results of doing