mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
c146d1a1e5
Added support to map intrinsics __builtin_arm_{ldc,ldcl,ldc2,ldc2l,stc,stcl,stc2,stc2l} to their ARM instructions. Differential Revision: http://reviews.llvm.org/D20564 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271271 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
356 B
LLVM
12 lines
356 B
LLVM
; RUN: not llc < %s -mtriple=armv8-eabi 2>&1 | FileCheck %s
|
|
; RUN: not llc < %s -mtriple=thumbv8-eabi 2>&1 | FileCheck %s
|
|
|
|
; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.ldc2l
|
|
define void @ldc2l(i8* %i) nounwind {
|
|
entry:
|
|
call void @llvm.arm.ldc2l(i32 1, i32 2, i8* %i) nounwind
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.arm.ldc2l(i32, i32, i8*) nounwind
|