aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-30 01:48:20 +0000
committerChris Lattner <sabre@nondot.org>2010-11-30 01:48:20 +0000
commit9dc9e81aa7412b329bbaf51a589a81475214802b (patch)
tree106a2b4b26ed46f4941e6e230ab101e2951381df /include
parent72987a274223e64482d8697b948e1c13a448198d (diff)
downloadexternal_llvm-9dc9e81aa7412b329bbaf51a589a81475214802b.zip
external_llvm-9dc9e81aa7412b329bbaf51a589a81475214802b.tar.gz
external_llvm-9dc9e81aa7412b329bbaf51a589a81475214802b.tar.bz2
getLocationForDest should work for memset as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h
index 8d7f3a1..d4f006f 100644
--- a/include/llvm/Analysis/AliasAnalysis.h
+++ b/include/llvm/Analysis/AliasAnalysis.h
@@ -49,6 +49,7 @@ class TargetData;
class Pass;
class AnalysisUsage;
class MemTransferInst;
+class MemIntrinsic;
class AliasAnalysis {
protected:
@@ -137,7 +138,7 @@ public:
Location getLocation(const StoreInst *SI);
Location getLocation(const VAArgInst *VI);
static Location getLocationForSource(const MemTransferInst *MTI);
- static Location getLocationForDest(const MemTransferInst *MTI);
+ static Location getLocationForDest(const MemIntrinsic *MI);
/// Alias analysis result - Either we know for sure that it does not alias, we
/// know for sure it must alias, or we don't know anything: The two pointers