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.ldc2l
5define void @ldc2l(i8* %i) nounwind {
6entry:
7  call void @llvm.arm.ldc2l(i32 1, i32 2, i8* %i) nounwind
8  ret void
9}
10
11declare void @llvm.arm.ldc2l(i32, i32, i8*) nounwind
12