blob: eb71cb6acb6e9c7df54f7f0d4e5c640b332a5c9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; 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
|