diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-14 19:30:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-14 19:30:35 +0000 |
commit | ef530c24c13c1bc4f4b48b7a52510c3ced6fb6bf (patch) | |
tree | e659824554dbab681e78b1f0cac884f2400bb8b1 /llvm/lib | |
parent | bc351e171fcdaa34d64d10bb2a777cdf11554e72 (diff) | |
download | bcm5719-llvm-ef530c24c13c1bc4f4b48b7a52510c3ced6fb6bf.tar.gz bcm5719-llvm-ef530c24c13c1bc4f4b48b7a52510c3ced6fb6bf.zip |
FunctionPass's cannot do IPO things.
llvm-svn: 25315
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LowerGC.cpp | 4 |
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; } } |