Remove llvm-upgrade.
[oota-llvm.git] / test / CodeGen / ARM / memcpy-inline.ll
1 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldmia
2 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldrb
3 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldrh
4
5         %struct.x = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
6 @src = external global %struct.x
7 @dst = external global %struct.x
8
9 define i32 @t() {
10 entry:
11         call void @llvm.memcpy.i32( i8* getelementptr (%struct.x* @dst, i32 0, i32 0), i8* getelementptr (%struct.x* @src, i32 0, i32 0), i32 11, i32 8 )
12         ret i32 0
13 }
14
15 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)