1 ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s
3 target triple = "wasm32-unknown-unknown"
5 define hidden void @call_memcpy(i8* align 4 %a, i8* align 4 %b) {
7 tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %a, i8* align 4 %b, i32 512, i1 false)
11 declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture writeonly, i8* nocapture readonly, i32, i1)
14 ; CHECK-NEXT: FileHeader:
15 ; CHECK-NEXT: Version: 0x00000001
16 ; CHECK-NEXT: Sections:
17 ; CHECK-NEXT: - Type: TYPE
18 ; CHECK-NEXT: Signatures:
19 ; CHECK-NEXT: - Index: 0
20 ; CHECK-NEXT: ReturnType: NORESULT
21 ; CHECK-NEXT: ParamTypes:
24 ; CHECK-NEXT: - Index: 1
25 ; CHECK-NEXT: ReturnType: I32
26 ; CHECK-NEXT: ParamTypes:
30 ; CHECK-NEXT: - Type: IMPORT