[PATCH] D52837: [WebAssembly] Ignore DBG_VALUE in WebAssemblyCFGStacify pass when looking for block start

Yury Delendik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 3 11:49:34 PDT 2018


yurydelendik added a comment.

In https://reviews.llvm.org/D52837#1254005, @aheejin wrote:

> Why should we skip debug instructions when searching for block start?


debug instructions can interleaved between any instruction, e.g. i32.wrap/i64 and i32.eqz in this case. Which causes block to start from i32.eqz and causing the validation error as mentioned in https://bugs.llvm.org/show_bug.cgi?id=39158


Repository:
  rL LLVM

https://reviews.llvm.org/D52837





More information about the llvm-commits mailing list