FunctionPass's cannot do IPO things.
authorChris Lattner <sabre@nondot.org>
Sat, 14 Jan 2006 19:30:35 +0000 (19:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Jan 2006 19:30:35 +0000 (19:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25315 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LowerGC.cpp

index e346c2303c8852a4de7fc48321ac6376e9996c60..d51189cf497fec62e997238454457934b8f42295 100644 (file)
@@ -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;
           }
       }