aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-14 19:30:35 +0000
committerChris Lattner <sabre@nondot.org>2006-01-14 19:30:35 +0000
commit516a74c01a6b4303dd09875e923f47f5e948a4c4 (patch)
treeccf781030755a6ce17794629cf9436fee202201d /lib/Transforms
parent1694ec615f71e25de6d07ffc6fe29deed353c657 (diff)
downloadexternal_llvm-516a74c01a6b4303dd09875e923f47f5e948a4c4.zip
external_llvm-516a74c01a6b4303dd09875e923f47f5e948a4c4.tar.gz
external_llvm-516a74c01a6b4303dd09875e923f47f5e948a4c4.tar.bz2
FunctionPass's cannot do IPO things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/LowerGC.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/LowerGC.cpp b/lib/Transforms/Scalar/LowerGC.cpp
index e346c23..d51189c 100644
--- a/lib/Transforms/Scalar/LowerGC.cpp
+++ b/lib/Transforms/Scalar/LowerGC.cpp
@@ -26,7 +26,6 @@
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
-#include "llvm/Transforms/Utils/Cloning.h"
using namespace llvm;
namespace {
@@ -203,9 +202,6 @@ bool LowerGC::runOnFunction(Function &F) {
}
}
- // Now that we made the replacement, inline expand the call if
- // possible, otherwise things will be too horribly expensive.
- InlineFunction(CI);
MadeChange = true;
}
}