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