Page MenuHomePhabricator

[Bugpoint redesign] Modified Functions pass to consider declarations

Authored by diegotf on Wed, Aug 14, 2:54 PM.



This modification was put in place so the ReduceMetadata pass doesn't have to consider debug functions.

This diff also simplifies the ReduceFunctions pass by directly replacing the function users, instead of going over every instruction to remove ones with undef function calls.

Diff Detail


Event Timeline

diegotf created this revision.Wed, Aug 14, 2:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Aug 14, 2:54 PM
diegotf edited the summary of this revision. (Show Details)Wed, Aug 14, 2:56 PM
dblaikie accepted this revision.Wed, Aug 14, 2:57 PM

Looks good!

This revision is now accepted and ready to land.Wed, Aug 14, 2:57 PM
This revision was automatically updated to reflect the committed changes.