diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-30 01:48:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-30 01:48:20 +0000 |
commit | 9dc9e81aa7412b329bbaf51a589a81475214802b (patch) | |
tree | 106a2b4b26ed46f4941e6e230ab101e2951381df /lib/Analysis/AliasAnalysis.cpp | |
parent | 72987a274223e64482d8697b948e1c13a448198d (diff) | |
download | external_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 'lib/Analysis/AliasAnalysis.cpp')
-rw-r--r-- | lib/Analysis/AliasAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp index f452c9e..588d68d 100644 --- a/lib/Analysis/AliasAnalysis.cpp +++ b/lib/Analysis/AliasAnalysis.cpp @@ -224,7 +224,7 @@ AliasAnalysis::getLocationForSource(const MemTransferInst *MTI) { } AliasAnalysis::Location -AliasAnalysis::getLocationForDest(const MemTransferInst *MTI) { +AliasAnalysis::getLocationForDest(const MemIntrinsic *MTI) { uint64_t Size = UnknownSize; if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength())) Size = C->getValue().getZExtValue(); |