aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/memfunc.ll
blob: 41d5944cb83e53c34b9466f56fcac2357aeae19d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llc < %s -march=arm

define void @f() {
entry:
        call void @llvm.memmove.i32( i8* null, i8* null, i32 64, i32 0 )
        call void @llvm.memcpy.i32( i8* null, i8* null, i32 64, i32 0 )
        call void @llvm.memset.i32( i8* null, i8 64, i32 0, i32 0 )
        unreachable
}

declare void @llvm.memmove.i32(i8*, i8*, i32, i32)

declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)

declare void @llvm.memset.i32(i8*, i8, i32, i32)