Debian Codegraph @

llvm/test/CodeGen/XCore/trap.ll

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