This is an archive of the discontinued LLVM Phabricator instance.

[bugpoint] Clean up type names at the very end
Needs ReviewPublic

Authored by loladiro on Dec 3 2016, 8:24 PM.

Details

Reviewers
majnemer
Summary

When we roundtrip through bitcode, type names end up duplicated, so
types get renamed, causing very long chains of numbers at the end.
We could fix this by using a separate context for each step, but that
is a decently large change, and would also be slower. Instead, just
insert a post process step to try to rename types to something shorter.

Event Timeline

loladiro updated this revision to Diff 80196.Dec 3 2016, 8:24 PM
loladiro retitled this revision from to [bugpoint] Clean up type names at the very end.
loladiro updated this object.
loladiro added a reviewer: majnemer.
loladiro added a subscriber: llvm-commits.

Any chance an updated version of this improvement can be added to bugpoint ?