[llvm-commits] [llvm] r56917 - /llvm/trunk/lib/Transforms/IPO/Internalize.cpp

Nuno Lopes nunoplopes at sapo.pt
Wed Oct 1 02:13:41 PDT 2008


Author: nlopes
Date: Wed Oct  1 04:13:40 2008
New Revision: 56917

URL: http://llvm.org/viewvc/llvm-project?rev=56917&view=rev
Log:
revert the addition of Preverves(CallGraph), per Duncan's comments

Modified:
    llvm/trunk/lib/Transforms/IPO/Internalize.cpp

Modified: llvm/trunk/lib/Transforms/IPO/Internalize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Internalize.cpp?rev=56917&r1=56916&r2=56917&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Internalize.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Internalize.cpp Wed Oct  1 04:13:40 2008
@@ -14,7 +14,6 @@
 //===----------------------------------------------------------------------===//
 
 #define DEBUG_TYPE "internalize"
-#include "llvm/Analysis/CallGraph.h"
 #include "llvm/Transforms/IPO.h"
 #include "llvm/Pass.h"
 #include "llvm/Module.h"
@@ -56,7 +55,6 @@
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.setPreservesCFG();
-      AU.addPreserved<CallGraph>();
     }
   };
 } // end anonymous namespace





More information about the llvm-commits mailing list