This is an archive of the discontinued LLVM Phabricator instance.

[CSInfo][TailDuplicator] Delete the call site info when removing dead MBBs
ClosedPublic

Authored by djtodoro on Feb 17 2020, 1:58 AM.

Details

Summary

Needed for the D73534. All tests pass after applying the D73534 again.

This is splitting of the D74614, but it should be revisited once again.

Diff Detail

Event Timeline

djtodoro created this revision.Feb 17 2020, 1:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2020, 1:58 AM
vsk accepted this revision.Feb 17 2020, 10:29 AM

LGTM with a nit. I believe this supersedes https://reviews.llvm.org/D74614?

llvm/lib/CodeGen/TailDuplicator.cpp
1023

Just so that the history makes sense, could you add -debug-entry-values to a TailDuplicator test in this patch, then remove it in D73534?

This revision is now accepted and ready to land.Feb 17 2020, 10:29 AM
djtodoro marked an inline comment as done.Feb 17 2020, 11:37 AM

I believe this supersedes https://reviews.llvm.org/D74614?

I think I can come up with a test case describing we need the D74614 as well (but modified, that is why I marked that as not finished).

llvm/lib/CodeGen/TailDuplicator.cpp
1023

Sure, I’ll add that.

djtodoro updated this revision to Diff 245097.Feb 18 2020, 1:34 AM
  • Add the '-debug-entry-values' into the tail-dup test
This revision was automatically updated to reflect the committed changes.