This is an archive of the discontinued LLVM Phabricator instance.

[Bugpoint redesign] Modified Functions pass to consider declarations
ClosedPublic

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

Details

Summary

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

Repository
rL LLVM

Event Timeline

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

Looks good!

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