From 8acf2956b8b47596103517e024acc8e686c17353 Mon Sep 17 00:00:00 2001 From: Victor Hernandez Date: Fri, 23 Oct 2009 21:09:37 +0000 Subject: Remove AllocationInst. Since MallocInst went away, AllocaInst is the only subclass of AllocationInst, so it no longer is necessary. llvm-svn: 84969 --- llvm/lib/Transforms/Scalar/TailDuplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Scalar/TailDuplication.cpp') diff --git a/llvm/lib/Transforms/Scalar/TailDuplication.cpp b/llvm/lib/Transforms/Scalar/TailDuplication.cpp index 68689d6f13b..4864e23ea7a 100644 --- a/llvm/lib/Transforms/Scalar/TailDuplication.cpp +++ b/llvm/lib/Transforms/Scalar/TailDuplication.cpp @@ -129,7 +129,7 @@ bool TailDup::shouldEliminateUnconditionalBranch(TerminatorInst *TI, if (isa(I) || isa(I)) return false; // Also alloca and malloc. - if (isa(I)) return false; + if (isa(I)) return false; // Some vector instructions can expand into a number of instructions. if (isa(I) || isa(I) || -- cgit v1.2.3