This is an archive of the discontinued LLVM Phabricator instance.

[MSSA] Rename uses in IDF regardless of new def position in basic block.
ClosedPublic

Authored by asbirlea on Apr 9 2021, 12:00 AM.

Details

Summary

When inserting a new def and renaming of uses is asked, always compute
IDF and do the renaming for the blocks with Phis in that IDF.
Resolves PR49859.

Diff Detail

Event Timeline

asbirlea created this revision.Apr 9 2021, 12:00 AM
asbirlea requested review of this revision.Apr 9 2021, 12:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2021, 12:00 AM

Thanks for this!

This revision is now accepted and ready to land.Apr 9 2021, 11:48 AM
uabelho added a subscriber: uabelho.EditedApr 12 2021, 5:57 AM

Great, thanks for the fix!

Just a question, any reason not to include a regression test, e.g. the reproducer in PR49859?

Test added in 1e0b813fc082.

Nice, thanks!