This is an archive of the discontinued LLVM Phabricator instance.

[CallSiteSplitting] Report edge deletion to DomTreeUpdater
ClosedPublic

Authored by JosephTremoulet on Nov 28 2018, 2:06 PM.

Details

Summary

When splitting musttail calls, the split blocks' original terminators
get removed; inform the DTU when this happens.

Also add a testcase that fails an assertion in the DTU without this fix.

Diff Detail

Repository
rL LLVM

Event Timeline

fhahn accepted this revision.Nov 29 2018, 4:32 AM

LGTM, thanks.

This revision is now accepted and ready to land.Nov 29 2018, 4:32 AM
This revision was automatically updated to reflect the committed changes.