1 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldrb
2 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldrh
3 ; This used to look for ldmia. But it's no longer lucky enough to
4 ; have the load / store instructions lined up just right after
5 ; scheduler change for pr3457. We'll look for a robust solution
8 %struct.x = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
9 @src = external global %struct.x
10 @dst = external global %struct.x
14 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 )
18 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)