[llvm] r328259 - Finish moving the IPSCCP pass from Scalar to IPO - moving the registration

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 22 15:07:53 PDT 2018


Author: dblaikie
Date: Thu Mar 22 15:07:53 2018
New Revision: 328259

URL: http://llvm.org/viewvc/llvm-project?rev=328259&view=rev
Log:
Finish moving the IPSCCP pass from Scalar to IPO - moving the registration

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

Modified: llvm/trunk/lib/Transforms/IPO/IPO.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/IPO.cpp?rev=328259&r1=328258&r2=328259&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/IPO.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/IPO.cpp Thu Mar 22 15:07:53 2018
@@ -48,6 +48,7 @@ void llvm::initializeIPO(PassRegistry &R
   initializePostOrderFunctionAttrsLegacyPassPass(Registry);
   initializeReversePostOrderFunctionAttrsLegacyPassPass(Registry);
   initializePruneEHPass(Registry);
+  initializeIPSCCPLegacyPassPass(Registry);
   initializeStripDeadPrototypesLegacyPassPass(Registry);
   initializeStripSymbolsPass(Registry);
   initializeStripDebugDeclarePass(Registry);

Modified: llvm/trunk/lib/Transforms/Scalar/Scalar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/Scalar.cpp?rev=328259&r1=328258&r2=328259&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/Scalar.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/Scalar.cpp Thu Mar 22 15:07:53 2018
@@ -82,7 +82,6 @@ void llvm::initializeScalarOpts(PassRegi
   initializeRegToMemPass(Registry);
   initializeRewriteStatepointsForGCLegacyPassPass(Registry);
   initializeSCCPLegacyPassPass(Registry);
-  initializeIPSCCPLegacyPassPass(Registry);
   initializeSROALegacyPassPass(Registry);
   initializeCFGSimplifyPassPass(Registry);
   initializeStructurizeCFGPass(Registry);




More information about the llvm-commits mailing list