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

Yury Delendik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 4 16:11:18 PDT 2018


yurydelendik added a comment.

> And I don't think we need the BEFORE check... what I meant by the 'before' check in the comment above was, before your fix, the wrong code sequence generated was like that.

`CHECK-BEFORE` is a sanity check in case if some of the passes decide to rearrange the instructions or remove DBG_VALUE. Maybe it was an overkill.

Thank you for the reduced test case.


Repository:
  rL LLVM

https://reviews.llvm.org/D52837





More information about the llvm-commits mailing list