[PATCH] D49034: [WebAssembly] Move/clone DBG_VALUE during WebAssemblyRegStackify pass

Yury Delendik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 25 16:46:55 PDT 2018


yurydelendik added a comment.

In https://reviews.llvm.org/D49034#1245913, @jgravelle-google wrote:

> This seems to have broken some of the emscripten tests (binaryen2.test_poppler and binaryen2.test_the_bullet) that we run on the wasm waterfall:
>  https://logs.chromium.org/v/?s=chromium%2Fbb%2Fclient.wasm.llvm%2Flinux%2F35933%2F%2B%2Frecipes%2Fsteps%2FExecute_emscripten_testsuite__emwasm_%2F0%2Fstdout


Looks like MRI.hasOneUse checks also DBG_VALUE register usages (that causes assert to fail). I need to check if use_nodbg_begin() will fix the issue. (FWIW OneUseDominatesOtherUses uses xx_nodbg_yyy operations in some places)


Repository:
  rL LLVM

https://reviews.llvm.org/D49034





More information about the llvm-commits mailing list