I think the underlying issue is
phtask/41(-1) @0x7fd198c35100 availability:local 26416 time, 4268
benefit 4541 size, 880 benefit 480 bytes stack usage reachable body
local finalized inlinable
called by:
phcall/33(-1) @0x7fd198c33a00 availability:local 8281 time, 972
benefit 1351 size, 291 benefit 984 bytes stack usage reachable body
local finalized inlinable
called by:
that these are not called but still reachable (they should not be reachable
anymore, instead the clones are now reachable). I think there already is
a bug about cloning not updating cgraph reachability and not reclaiming
nodes after IPA transform application.