[PATCH] D22475: [PM] Port FunctionImport Pass to new PM

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 14:17:22 PDT 2016


tejohnson added a comment.

Thanks


================
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",
----------------
davide wrote:
> You don't need PASS_BEGIN/PASS_END as this pass doesn't have dependencies. You can just use INITIALIZE_PASS()
Ok, will fix this.


https://reviews.llvm.org/D22475





More information about the llvm-commits mailing list