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

Wouter van Oortmerssen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 6 11:44:57 PDT 2021


aardappel accepted this revision.
aardappel added inline comments.
This revision is now accepted and ready to land.


================
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__
----------------
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.


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