[lld] [llvm] [WebAssembly] Add exnref type (PR #93586)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 11:06:49 PDT 2024
================
@@ -4,22 +4,27 @@
# CHECK-LABEL:ref_is_null:
# CHECK: ref.is_null # encoding: [0xd1]
ref_is_null:
- .functype ref_is_null () -> (i32, i32)
+ .functype ref_is_null () -> (i32, i32, i32)
ref.null_extern
ref.is_null
ref.null_func
ref.is_null
+ ref.null_exn
+ ref.is_null
----------------
dschuff wrote:
I don't see any CHECK expectations for this (or for null func). I assume this is just because it's sufficient to check the encoding once and the rest is to make sure the type check passes?
https://github.com/llvm/llvm-project/pull/93586
More information about the llvm-commits
mailing list