2020-02-12 15:01:35 +08:00
|
|
|
; RUN: not --crash llc < %s -mtriple=armv8-eabi 2>&1 | FileCheck %s
|
|
|
|
; RUN: not --crash llc < %s -mtriple=thumbv8-eabi 2>&1 | FileCheck %s
|
2016-05-31 20:39:30 +08:00
|
|
|
|
|
|
|
; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.stc2
|
|
|
|
define void @stc2(i8* %i) nounwind {
|
|
|
|
entry:
|
|
|
|
call void @llvm.arm.stc2(i32 1, i32 2, i8* %i) nounwind
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
declare void @llvm.arm.stc2(i32, i32, i8*) nounwind
|