[PATCH] D22475: [PM] Port FunctionImport Pass to new PM
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 14:01:08 PDT 2016
davide added a subscriber: davide.
davide accepted this revision.
davide added a reviewer: davide.
davide added a comment.
This revision is now accepted and ready to land.
lgtm modulo nit
================
Comment at: lib/Transforms/IPO/FunctionImport.cpp:797
@@ -786,1 +796,3 @@
+INITIALIZE_PASS_BEGIN(FunctionImportLegacyPass, "function-import",
"Summary Based Function Import", false, false)
+INITIALIZE_PASS_END(FunctionImportLegacyPass, "function-import",
----------------
You don't need PASS_BEGIN/PASS_END as this pass doesn't have dependencies. You can just use INITIALIZE_PASS()
https://reviews.llvm.org/D22475
More information about the llvm-commits
mailing list