[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 08:06:11 PDT 2018


yurydelendik added a comment.

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

> .. you can pass multiple `-run-pass` flags to `llc`, like `llc -run-pass wasm-reg-stackify -run-pass wasm-reg-coloring ...`. Maybe we can start from mir just before the RegStackify pass and make llc run all passes from RegStackify to CFGStackify. I think it's worth trying. If this fails for some other reason, we can bring back .ll test case...


I had not luck with making a mir test this way: it fails at wasm-explicit-locals pass. Locks like I need to list all passes starting from basic one -- the same thing running .ll would do.

I reverted back to the .ll test, though I start checking MIR before and after wasm-cfg-stackify pass and location of the DBG_VALUE.


Repository:
  rL LLVM

https://reviews.llvm.org/D52837





More information about the llvm-commits mailing list