HomePhabricator

[Debugify] Support checking Machine IR debug info

Authored by xiangzhangllvm on Dec 16 2020, 8:23 PM.

Description

[Debugify] Support checking Machine IR debug info
Add mir-check-debug pass to check MIR-level debug info.

For IR-level, currently, LLVM have debugify + check-debugify to generate
and check debug IR. Much like the IR-level pass debugify, mir-debugify
inserts sequentially increasing line locations to each MachineInstr in a
Module, But there is no equivalent MIR-level check-debugify pass, So now
we support it at "mir-check-debug".

Reviewed By: djtodoro

Differential Revision: https://reviews.llvm.org/D91595

Details

Committed
xiangzhangllvmDec 16 2020, 10:17 PM
Reviewer
djtodoro
Differential Revision
D91595: [Debugify] Support checking Machine IR debug info
Parents
rG4ad5b634f683: [GCN] Remove unused function handleNewInstruction (NFC)
Branches
Unknown
Tags
Unknown