aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/AliasAnalysis.cpp
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2009-10-23 21:09:37 +0000
committerVictor Hernandez <vhernandez@apple.com>2009-10-23 21:09:37 +0000
commitb168730cf56bd8e8bf0c4d7f494b79ca135e973d (patch)
treefe3eb2cd3b56e7c3e89454d73e56986f3ce12ba2 /lib/Analysis/AliasAnalysis.cpp
parentb2a663a0a3b3711679bcbac053b788a3e2ec346a (diff)
downloadexternal_llvm-b168730cf56bd8e8bf0c4d7f494b79ca135e973d.tar.gz
external_llvm-b168730cf56bd8e8bf0c4d7f494b79ca135e973d.tar.bz2
external_llvm-b168730cf56bd8e8bf0c4d7f494b79ca135e973d.zip
Remove AllocationInst. Since MallocInst went away, AllocaInst is the only subclass of AllocationInst, so it no longer is necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasAnalysis.cpp')
-rw-r--r--lib/Analysis/AliasAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp
index c456990d8a..0234965a00 100644
--- a/lib/Analysis/AliasAnalysis.cpp
+++ b/lib/Analysis/AliasAnalysis.cpp
@@ -239,7 +239,7 @@ bool llvm::isNoAliasCall(const Value *V) {
/// NoAlias returns
///
bool llvm::isIdentifiedObject(const Value *V) {
- if (isa<AllocationInst>(V) || isNoAliasCall(V))
+ if (isa<AllocaInst>(V) || isNoAliasCall(V))
return true;
if (isa<GlobalValue>(V) && !isa<GlobalAlias>(V))
return true;