summaryrefslogtreecommitdiffstats
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
commitef530c24c13c1bc4f4b48b7a52510c3ced6fb6bf (patch)
treee659824554dbab681e78b1f0cac884f2400bb8b1
parentbc351e171fcdaa34d64d10bb2a777cdf11554e72 (diff)
downloadbcm5719-llvm-ef530c24c13c1bc4f4b48b7a52510c3ced6fb6bf.tar.gz
bcm5719-llvm-ef530c24c13c1bc4f4b48b7a52510c3ced6fb6bf.zip
FunctionPass's cannot do IPO things.
llvm-svn: 25315
-rw-r--r--llvm/lib/Transforms/Scalar/LowerGC.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/LowerGC.cpp b/llvm/lib/Transforms/Scalar/LowerGC.cpp
index e346c2303c8..d51189cf497 100644
--- a/llvm/lib/Transforms/Scalar/LowerGC.cpp
+++ b/llvm/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;
}
}
OpenPOWER on IntegriCloud