1 ; RUN: llc < %s -mtriple=armv7-eabi -mcpu=cortex-a8 | FileCheck %s
2 ; RUN: llc < %s -march=thumb -mtriple=thumbv7-eabi -mcpu=cortex-a8 | FileCheck %s
4 define void @coproc() nounwind {
7 %0 = tail call i32 @llvm.arm.mrc(i32 7, i32 1, i32 1, i32 1, i32 4) nounwind
9 tail call void @llvm.arm.mcr(i32 7, i32 1, i32 %0, i32 1, i32 1, i32 4) nounwind
11 %1 = tail call i32 @llvm.arm.mrc2(i32 7, i32 1, i32 1, i32 1, i32 4) nounwind
13 tail call void @llvm.arm.mcr2(i32 7, i32 1, i32 %1, i32 1, i32 1, i32 4) nounwind
15 tail call void @llvm.arm.mcrr(i32 7, i32 1, i32 %0, i32 %1, i32 1) nounwind
17 tail call void @llvm.arm.mcrr2(i32 7, i32 1, i32 %0, i32 %1, i32 1) nounwind
19 tail call void @llvm.arm.cdp(i32 7, i32 3, i32 1, i32 1, i32 1, i32 5) nounwind
21 tail call void @llvm.arm.cdp2(i32 7, i32 3, i32 1, i32 1, i32 1, i32 5) nounwind
25 declare void @llvm.arm.cdp2(i32, i32, i32, i32, i32, i32) nounwind
27 declare void @llvm.arm.cdp(i32, i32, i32, i32, i32, i32) nounwind
29 declare void @llvm.arm.mcrr2(i32, i32, i32, i32, i32) nounwind
31 declare void @llvm.arm.mcrr(i32, i32, i32, i32, i32) nounwind
33 declare void @llvm.arm.mcr2(i32, i32, i32, i32, i32, i32) nounwind
35 declare i32 @llvm.arm.mrc2(i32, i32, i32, i32, i32) nounwind
37 declare void @llvm.arm.mcr(i32, i32, i32, i32, i32, i32) nounwind
39 declare i32 @llvm.arm.mrc(i32, i32, i32, i32, i32) nounwind