This is an archive of the discontinued LLVM Phabricator instance.

[mlir][SCCP] Don't visit private callables unless they are used when tracking interprocedural arguments/results
ClosedPublic

Authored by rriddle on Dec 9 2020, 3:27 PM.

Details

Summary

This fixes a subtle bug where SCCP could incorrectly optimize a private callable while waiting for its arguments to be resolved.

Fixes PR#48457

Diff Detail

Event Timeline

rriddle created this revision.Dec 9 2020, 3:27 PM
rriddle requested review of this revision.Dec 9 2020, 3:27 PM
mehdi_amini accepted this revision.Dec 9 2020, 9:36 PM
This revision is now accepted and ready to land.Dec 9 2020, 9:36 PM
This revision was landed with ongoing or failed builds.Dec 10 2020, 12:57 PM
This revision was automatically updated to reflect the committed changes.