[WebAssembly] Ignore DBG_VALUE in WebAssemblyCFGStackify pass when looking for block...
authorYury Delendik <ydelendik@mozilla.com>
Thu, 4 Oct 2018 23:31:00 +0000 (23:31 +0000)
committerYury Delendik <ydelendik@mozilla.com>
Thu, 4 Oct 2018 23:31:00 +0000 (23:31 +0000)
commit409b4391527a72d8c606749386a079aa42437f57
tree67d587279ecec545a9408f83c9971a76307f3930
parent173946dca61175350b415745848e946dceef6968
[WebAssembly] Ignore DBG_VALUE in WebAssemblyCFGStackify pass when looking for block start

Summary:
Fixes https://bugs.llvm.org/show_bug.cgi?id=39158 and regression caused by
D49034. Though it is possible the problem was existed before and was exposed by
additional DBG_VALUEs.

Reviewers: sunfish, dschuff, aheejin

Reviewed By: aheejin

Subscribers: sbc100, aheejin, llvm-commits, alexcrichton, jgravelle-google

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

llvm-svn: 343827
llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
llvm/test/CodeGen/WebAssembly/cfg-stackify-dbg-skip.ll [new file with mode: 0644]