blob: eb71cb6acb6e9c7df54f7f0d4e5c640b332a5c9e [file] [log] [blame]
; RUN: llc < %s -march=xcore | FileCheck %s
define i32 @test() noreturn nounwind {
entry:
; CHECK: test:
; CHECK: ldc
; CHECK: ecallf
tail call void @llvm.trap( )
unreachable
}
declare void @llvm.trap() nounwind