I don't think it's covered by any existing tests?
Here we have a type which is called with call_indirect but not used anywhere else in the file.
Differential D43885
[WebAssembly] Test types only used by call_indirect are GC'd correctly Authored by ncw on Feb 28 2018, 10:43 AM.
Details
I don't think it's covered by any existing tests? Here we have a type which is called with call_indirect but not used anywhere else in the file.
Diff Detail
Event TimelineComment Actions I believe this is already tested in lld/test/wasm/call-indirect.ll: ; Indirect function call where no function actually has this type.
; Ensures that the type entry is still created in this case.
define void @call_ptr(i64 (i64)* %arg) {
%1 = call i64 %arg(i64 1)
ret void
} |