HomePhabricator

[WebAssembly] Fix updating/moving DBG_VALUEs in RegStackify

Description

[WebAssembly] Fix updating/moving DBG_VALUEs in RegStackify

Summary:
As described in PR40209, there can be issues in DBG_VALUEs handling when multiple defs present in a BB. This patch
adds logic for detection of related to def DBG_VALUEs and localizes register update and movement to found DBG_VALUEs.

Reviewers: aheejin

Subscribers: mgorny, dschuff, sbc100, jgravelle-google, sunfish, llvm-commits

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

Details

Committed
yurydelendikJan 15 2019, 10:14 AM
Differential Revision
D56401: [WebAssembly] Fix updating/moving DBG_VALUEs in RegStackify
Parents
rL351215: Silence compiler warnings
Branches
Unknown
Tags
Unknown