1; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s 2 3target triple = "wasm32-unknown-unknown" 4 5define hidden void @call_memcpy(i8* align 4 %a, i8* align 4 %b) { 6entry: 7 tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %a, i8* align 4 %b, i32 512, i1 false) 8 ret void 9} 10 11declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture writeonly, i8* nocapture readonly, i32, i1) 12 13; CHECK: --- !WASM 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: 22; CHECK-NEXT: - I32 23; CHECK-NEXT: - I32 24; CHECK-NEXT: - Index: 1 25; CHECK-NEXT: ReturnType: I32 26; CHECK-NEXT: ParamTypes: 27; CHECK-NEXT: - I32 28; CHECK-NEXT: - I32 29; CHECK-NEXT: - I32 30; CHECK-NEXT: - Type: IMPORT 31