[PATCH] D101985: [WebAssembly] Support Emscripten EH/SjLj in Wasm64

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 02:41:44 PDT 2021


aheejin added inline comments.


================
Comment at: llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll:50
+; WASM64-NEXT: call cc{{.*}} void @__invoke_void_i64_i32(void (i64, i32)* @emscripten_longjmp, i64 %[[JMPBUF]], i32 1)
+; WASM32-NEXT: %[[__THREW__VAL:.*]] = load i32, i32* @__THREW__
+; WASM64-NEXT: %[[__THREW__VAL:.*]] = load i64, i64* @__THREW__
----------------
aardappel wrote:
> tip: you can declutter these kind of tests by passing `-Dptr=i32` to Filecheck and then using a single CHECK line with `[[ptr]]` in them.
Thanks! This really simplifies things.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101985/new/

https://reviews.llvm.org/D101985



More information about the llvm-commits mailing list