This is an archive of the discontinued LLVM Phabricator instance.

[CallGraphUpdater][Attributor][FIX] Allow standalone function replacement
AbandonedPublic

Authored by jdoerfert on Oct 27 2020, 10:30 PM.

Details

Summary
NOTE: This is not a working patch. We need to revisit the ways we update the new PM callgraph, potentially the things we want to do are just not possible.

We did mix replacing a function and deleting the old one but that should
be two different operations so we can reuse them individually.

This is supposed to fix the creation of deep-wrappers which currently
delete the original function but it actually will cause a crash in the
way we update the new PM call graph.

Mail discussion: http://lists.llvm.org/pipermail/llvm-dev/2020-October/146117.html

Diff Detail

Event Timeline

jdoerfert created this revision.Oct 27 2020, 10:30 PM
Herald added a reviewer: homerdin. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
jdoerfert requested review of this revision.Oct 27 2020, 10:30 PM
jdoerfert retitled this revision from [CallGraphUpdater][Attributor][FIX] Allow standalone function replacement NOTE: This is not a working patch. We need to revisit the ways we update the new PM callgraph, potentially the things we want to do are just not possible. to [CallGraphUpdater][Attributor][FIX] Allow standalone function replacement.Oct 27 2020, 10:50 PM
jdoerfert edited the summary of this revision. (Show Details)
jdoerfert abandoned this revision.Sep 7 2021, 9:01 AM