xref: /llvm-project/llvm/test/CodeGen/ARM/stc2.ll (revision bed1c7f061aa12417aa081e334afdba45767b938)
1; RUN: not --crash llc < %s -mtriple=armv8-eabi 2>&1 | FileCheck %s
2; RUN: not --crash llc < %s -mtriple=thumbv8-eabi 2>&1 | FileCheck %s
3
4; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.stc2
5define void @stc2(ptr %i) nounwind {
6entry:
7  call void @llvm.arm.stc2(i32 1, i32 2, ptr %i) nounwind
8  ret void
9}
10
11declare void @llvm.arm.stc2(i32, i32, ptr) nounwind
12