HomePhabricator

[WebAssembly] Fix MRI.hasOneNonDBGUse assert in WebAssemblyRegStackify pass
AuditedrL343154

Description

[WebAssembly] Fix MRI.hasOneNonDBGUse assert in WebAssemblyRegStackify pass

Summary:
The OneUseDominatesOtherUses in the WebAssemblyRegStackify not properly validates register use using hasOneUse. Since we added/modified DBG_VALUE the assert started catching valid cases.

See also https://reviews.llvm.org/D49034#1247200

Fix verified by running the wasm waterfall.

Reviewed By: dschuff

Tags: debug-info

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

Details

Auditors
dschuff
Committed
yurydelendikSep 26 2018, 4:49 PM
Reviewer
dschuff
Differential Revision
D49034: [WebAssembly] Move/clone DBG_VALUE during WebAssemblyRegStackify pass
Parents
rL343153: [sanitizer] AndroidGetApiLevel for static executables.
Branches
Unknown
Tags
Unknown