[all-commits] [llvm/llvm-project] 9e5019: [WebAssembly] Undef invalid DBG_VALUEs after RegCo...
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Thu Jun 8 16:56:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9e501945ca4ec3f8dbe6992f155426f7390caa3c
https://github.com/llvm/llvm-project/commit/9e501945ca4ec3f8dbe6992f155426f7390caa3c
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2023-06-08 (Thu, 08 Jun 2023)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
A llvm/test/DebugInfo/WebAssembly/dbg-value-reg-coloring.mir
Log Message:
-----------
[WebAssembly] Undef invalid DBG_VALUEs after RegColoring
After register coalescing, some `DBG_VALUE`s can have incorrect info.
For example, if a `DBG_VALUE` has a register operand `%0`, but it
resides in a live range of `%1`, it has incorrect info after `%0` and
`%1` are coalesced. See the comments for more details.
This does not have meaningful changes on our variable debug info
coverage or compilation time, which is good news.
Reviewed By: dschuff
Differential Revision: https://reviews.llvm.org/D151125
More information about the All-commits
mailing list