[all-commits] [llvm/llvm-project] 50aaa8: [Debugify] Support checking Machine IR debug info
xiangzh1 via All-commits
all-commits at lists.llvm.org
Wed Dec 16 18:05:58 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 50aaa8c274910d78d7bf6c929a34fe58b1f45579
https://github.com/llvm/llvm-project/commit/50aaa8c274910d78d7bf6c929a34fe58b1f45579
Author: Xiang1 Zhang <xiang1.zhang at intel.com>
Date: 2020-12-16 (Wed, 16 Dec 2020)
Changed paths:
M llvm/docs/HowToUpdateDebugInfo.rst
M llvm/include/llvm/CodeGen/Passes.h
M llvm/include/llvm/CodeGen/TargetPassConfig.h
M llvm/include/llvm/InitializePasses.h
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/CodeGen.cpp
A llvm/lib/CodeGen/MachineCheckDebugify.cpp
M llvm/lib/CodeGen/MachineDebugify.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/constant-mir-debugify.mir
M llvm/test/CodeGen/AArch64/GlobalISel/phi-mir-debugify.mir
A llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
A llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
A llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Log Message:
-----------
[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
More information about the All-commits
mailing list