1 ; RUN: llvm-as %s -o /dev/null
3 define void @test(i32* %P, i32* %Q) {
5 %tmp.1 = bitcast i32* %P to i8* ; <i8*> [#uses=3]
6 %tmp.3 = bitcast i32* %Q to i8* ; <i8*> [#uses=4]
7 tail call void @llvm.memcpy.i32( i8* %tmp.1, i8* %tmp.3, i32 100000, i32 1 )
8 tail call void @llvm.memcpy.i64( i8* %tmp.1, i8* %tmp.3, i64 100000, i32 1 )
9 tail call void @llvm.memset.i32( i8* %tmp.3, i8 14, i32 10000, i32 0 )
10 tail call void @llvm.memmove.i32( i8* %tmp.1, i8* %tmp.3, i32 123124, i32 1 )
11 tail call void @llvm.memmove.i64( i8* %tmp.1, i8* %tmp.3, i64 123124, i32 1 )
15 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
17 declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
19 declare void @llvm.memset.i32(i8*, i8, i32, i32)
21 declare void @llvm.memmove.i32(i8*, i8*, i32, i32)
23 declare void @llvm.memmove.i64(i8*, i8*, i64, i32)