[WebAssembly] Allow Wasm EH with Emscripten SjLj
authorHeejin Ahn <aheejin@gmail.com>
Wed, 12 May 2021 20:19:30 +0000 (13:19 -0700)
committerHeejin Ahn <aheejin@gmail.com>
Wed, 12 May 2021 20:27:04 +0000 (13:27 -0700)
commitba38b72ec2833bf8c54829a0fd7a8c968e6260d4
treeb287cf7523360536bc805a693ca480b28a41d987
parent9c345407b4999e62e51667927f531b891363569b
[WebAssembly] Allow Wasm EH with Emscripten SjLj

We explicitly made it error out in D101403, out of a good intention that
the error message will make people less confusing. Turns out, we weren't
failing all cases of wasm EH + SjLj; only a few cases were failing and
our client was able to get around by fixing source code, but now we made
it fail for all cases, even the cases that previously succeeded fail,
which we didn't intend. This reverts that change.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D102364
llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll