Home | History | Annotate | Download | only in ARM
      1 ; RUN: not llc < %s -mtriple=armv7-eabi -mcpu=cortex-a8 2>&1 | FileCheck %s
      2 ; RUN: not llc < %s -march=thumb -mtriple=thumbv7-eabi -mcpu=cortex-a8 2>&1 | FileCheck %s
      3 
      4 ; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.cdp2
      5 define void @cdp2(i32 %a) #0 {
      6   %a.addr = alloca i32, align 4
      7   store i32 %a, i32* %a.addr, align 4
      8   %1 = load i32, i32* %a.addr, align 4
      9   call void @llvm.arm.cdp2(i32 %1, i32 2, i32 3, i32 4, i32 5, i32 6)
     10   ret void
     11 }
     12 
     13 declare void @llvm.arm.cdp2(i32, i32, i32, i32, i32, i32) nounwind
     14