[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / WebAssembly / libcall.ll
blobb2253583898fc44d10ba19a9d29afa65b852c77b
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) {
6 entry:
7   tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %a, i8* align 4 %b, i32 512, i1 false)
8   ret void
11 declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture writeonly, i8* nocapture readonly, i32, i1)
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