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