This is an archive of the discontinued LLVM Phabricator instance.

[MIRVRegNamerUtils] Fix for BasicBlock numbering parameter.
ClosedPublic

Authored by plotfi on Nov 20 2019, 12:17 AM.

Details

Summary

A comment I posted in D70210 about setting the BB Number was missed.
This patch sets the BB Number based on RPO order when calling renameVRegs is called.

TODO: Will add a test with 2+ BBs.

Diff Detail

Event Timeline

plotfi created this revision.Nov 20 2019, 12:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 20 2019, 12:17 AM
plotfi updated this revision to Diff 230201.Nov 20 2019, 12:18 AM
plotfi edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Nov 20 2019, 12:23 AM
plotfi updated this revision to Diff 231603.Nov 30 2019, 4:12 PM

Will land on Monday when holiday is over. I don't want to be that guy.

This revision was automatically updated to reflect the committed changes.