This is an archive of the discontinued LLVM Phabricator instance.

[MachineVerifier] Verify that a DBG_VALUE has a debug location
ClosedPublic

Authored by vsk on May 27 2020, 3:47 PM.

Details

Summary

Verify that each DBG_VALUE has a debug location. This is required by
LiveDebugValues, and perhaps by other late passes.

There's an exception for tests: lots of tests use a two-operand form of
DBG_VALUE for convenience. There's no reason to prevent that.

This is an extension of D80665, but there's no dependency.

Diff Detail

Event Timeline

vsk created this revision.May 27 2020, 3:47 PM
davide accepted this revision.May 27 2020, 4:50 PM
This revision is now accepted and ready to land.May 27 2020, 4:50 PM
jmorse accepted this revision.May 28 2020, 10:31 AM

LGTM

This revision was automatically updated to reflect the committed changes.