[llvm] [WebAssembly] Don't return multivalue when Emscripten EH/SjLj is used (PR #86048)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 17:42:45 PDT 2024


aheejin wrote:

One thing to think about is, given that Emscripten EH is off by default but Emscripten SjLj is on by default unless you use Wasm EH, this may turn off multivalue returns for more cases than we intend to. So to sum up,
- Enabling Emscripten EH automatically means enabling Emscripten SjLj
- Enabling Wasm EH automatically means enabling Wasm SjLj
- Enabling neither EH means enabling Emscripten SjLJ
  - This can change later when Wasm EH is supported universally, but likely not in the near future 

https://github.com/llvm/llvm-project/pull/86048


More information about the llvm-commits mailing list