1; RUN: llc < %s -march=xcore > %t1.s
2; RUN: grep "ecallf" %t1.s | count 1
3; RUN: grep "ldc" %t1.s | count 1
4define i32 @test() noreturn nounwind {
5entry:
6 tail call void @llvm.trap( )
7 unreachable
8}
9
10declare void @llvm.trap() nounwind
11
12