blob: 665d3acd89d7d2247f07d1770d02c39695c9c5e8 [file] [log] [blame]
Evan Cheng4102eb52007-10-22 22:11:27 +00001; 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
9define i32 @t() {
10entry:
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
15declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)