[PATCH] D48345: [WebAssembly] Fix unwind destination mismatches in CFG stackify (WIP)

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 18:31:53 PDT 2018


aheejin created this revision.
aheejin added reviewers: dschuff, sunfish.
Herald added subscribers: llvm-commits, chrib, jgravelle-google, sbc100.

This fixes various unwind destination mismatches that can be introduced
by placing try / end_try markers. It also deletes some unnecessary
instuctions to save code size.

Does not have a mir test case yet. Adding a test case for this patch
requires serializing `WasmEHFuncInfo`, which is populated from
`WasmEHPrepare` before instruction selection.


Repository:
  rL LLVM

https://reviews.llvm.org/D48345

Files:
  lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48345.152009.patch
Type: text/x-patch
Size: 23483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180620/8ce26c7e/attachment.bin>


More information about the llvm-commits mailing list