mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 16:56:50 +00:00
ab4af72527
- Renamed intrinsics.ll to intrinsics-coprocessor.ll as all the tests were testing coprocessor instructions, also made the test checks match the full instruction. Differential Revision: http://reviews.llvm.org/D20393 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270057 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
516 B
LLVM
14 lines
516 B
LLVM
; RUN: not llc < %s -mtriple=armv7-eabi -mcpu=cortex-a8 2>&1 | FileCheck %s
|
|
; RUN: not llc < %s -march=thumb -mtriple=thumbv7-eabi -mcpu=cortex-a8 2>&1 | FileCheck %s
|
|
|
|
; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.cdp
|
|
define void @cdp(i32 %a) #0 {
|
|
%a.addr = alloca i32, align 4
|
|
store i32 %a, i32* %a.addr, align 4
|
|
%1 = load i32, i32* %a.addr, align 4
|
|
call void @llvm.arm.cdp(i32 %1, i32 2, i32 3, i32 4, i32 5, i32 6)
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.arm.cdp(i32, i32, i32, i32, i32, i32) nounwind
|