This is an archive of the discontinued LLVM Phabricator instance.

[PM] Port FunctionImport Pass to new PM
ClosedPublic

Authored by tejohnson on Jul 18 2016, 1:55 PM.

Diff Detail

Event Timeline

tejohnson updated this revision to Diff 64378.Jul 18 2016, 1:55 PM
tejohnson retitled this revision from to [PM] Port FunctionImport Pass to new PM.
tejohnson updated this object.
tejohnson added a reviewer: mehdi_amini.
tejohnson added subscribers: llvm-commits, davidxl.
davide accepted this revision.Jul 18 2016, 2:01 PM
davide added a reviewer: davide.
davide added a subscriber: davide.

lgtm modulo nit

lib/Transforms/IPO/FunctionImport.cpp
797

You don't need PASS_BEGIN/PASS_END as this pass doesn't have dependencies. You can just use INITIALIZE_PASS()

This revision is now accepted and ready to land.Jul 18 2016, 2:01 PM

Thanks

lib/Transforms/IPO/FunctionImport.cpp
797

Ok, will fix this.

This revision was automatically updated to reflect the committed changes.