[all-commits] [llvm/llvm-project] 4f2401: [WebAssembly] Use MachineInstr::setDebugValueUndef
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Fri Mar 17 20:15:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f2401f4f9074548b6de3952a6858aeac2f6950f
https://github.com/llvm/llvm-project/commit/4f2401f4f9074548b6de3952a6858aeac2f6950f
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2023-03-17 (Fri, 17 Mar 2023)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyNullifyDebugValueLists.cpp
M llvm/test/DebugInfo/WebAssembly/dbg-value-list.ll
Log Message:
-----------
[WebAssembly] Use MachineInstr::setDebugValueUndef
When making `DBG_VALUE`/`DBG_VALUE_LIST` instructions undefined, there
is a method that takes care of it so we don't need to do it manually.
This changes the test because previously we are converting
`DBG_VALUE_LIST`s into `DBG_VALUE $noreg` but now we leave
`DBG_VALUE_LIST` but set it to undef by turning all its register
operands `$noreg`. The effect is the same.
Reviewed By: dschuff
Differential Revision: https://reviews.llvm.org/D145998
More information about the All-commits
mailing list