This is an archive of the discontinued LLVM Phabricator instance.

[NFC][IntrRefLDV] Improve the Value printing
ClosedPublic

Authored by djtodoro on Oct 28 2020, 7:24 AM.

Details

Summary

Basically, this just improves the dump of the Value stored within a location.

If the defining instruction number is zero, it means it is "live-in".

Before the patch:

ESI --> bb 0 inst 0 loc ESI

After:

ESI --> Value{bb: 0, inst: live-in, loc: ESI}

This is an NFC.

Diff Detail

Event Timeline

djtodoro created this revision.Oct 28 2020, 7:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2020, 7:24 AM
djtodoro requested review of this revision.Oct 28 2020, 7:24 AM
jmorse accepted this revision.Oct 28 2020, 7:33 AM

LGTM, anything and everything in this vein much appreciated.

This revision is now accepted and ready to land.Oct 28 2020, 7:33 AM
This revision was landed with ongoing or failed builds.Oct 28 2020, 7:39 AM
This revision was automatically updated to reflect the committed changes.