This fixes a subtle bug where SCCP could incorrectly optimize a private callable while waiting for its arguments to be resolved.
Fixes PR#48457
Paths
| Differential D92976
[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
Unit TestsFailed
Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 13 others. · View Herald TranscriptDec 9 2020, 3:27 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 Closed by commit rGc24f88b4db2e: [mlir][SCCP] Don't visit private callables unless they are used when tracking… (authored by rriddle). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 310683 mlir/lib/Transforms/SCCP.cpp
mlir/test/Transforms/sccp-callgraph.mlir
|