Ranjeet Singh | 16c24f4 | 2016-05-31 12:39:30 +0000 | [diff] [blame] | 1 | ; RUN: not llc < %s -mtriple=armv8-eabi 2>&1 | FileCheck %s |
2 | ; RUN: not llc < %s -mtriple=thumbv8-eabi 2>&1 | FileCheck %s | ||||
3 | |||||
4 | ; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.stc2 | ||||
5 | define void @stc2(i8* %i) nounwind { | ||||
6 | entry: | ||||
7 | call void @llvm.arm.stc2(i32 1, i32 2, i8* %i) nounwind | ||||
8 | ret void | ||||
9 | } | ||||
10 | |||||
11 | declare void @llvm.arm.stc2(i32, i32, i8*) nounwind |