[PATCH] D44090: [WebAssembly] Support instruction selection for catching exceptions

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 5 06:27:50 PST 2018


aheejin created this revision.
aheejin added a reviewer: dschuff.
Herald added subscribers: llvm-commits, sunfish, jgravelle-google, sbc100, jfb.

This lowers `catch_extract` intrinsic generated by `WasmEHPrepare` pass
to a sequence of `catch`/`if_except`/`then`/`else`/`end_if_except`.

Currently `wasm_eh_landingpad_index` and `wasm_eh_lsda` intrinsics
lowering parts are marked as TODO because they can be tested only after
we are able to generate the LSDA information.


Repository:
  rL LLVM

https://reviews.llvm.org/D44090

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.h
  lib/Target/WebAssembly/WebAssemblyInstrControl.td
  lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
  test/CodeGen/WebAssembly/exception.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44090.136988.patch
Type: text/x-patch
Size: 12640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180305/95055e55/attachment.bin>


More information about the llvm-commits mailing list