Page MenuHomePhabricator

MachineOperand/MIParser: Do not print debug-use flag, infer it
ClosedPublic

Authored by MatzeB on Oct 30 2018, 3:13 PM.

Details

Summary

The debug-use flag must be set exactly for uses on DBG_VALUEs. This is
so obvious that I we can trivially infer it while parsing. This will
reduce noise when printing while omitting an information that has very
little value to the user.

The parser will keep recognizing the flag for compatibility with old
mir files.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB created this revision.Oct 30 2018, 3:13 PM
This revision is now accepted and ready to land.Oct 30 2018, 3:42 PM
This revision was automatically updated to reflect the committed changes.