1 ; RUN: llc -mtriple=aarch64-windows %s -o -| FileCheck %s
2 ; RUN: llc -mtriple=aarch64-windows -fast-isel %s -o - | FileCheck %s --check-prefix=FASTISEL
3 ; RUN: llc -mtriple=aarch64-windows -global-isel %s -o - | FileCheck %s
4 ; RUN: llc -mtriple=aarch64-linux-gnu %s -o -| FileCheck %s
5 ; RUN: llc -mtriple=arm64-apple-ios -global-isel %s -o - | FileCheck %s
6 ; RUN: llc -mtriple=arm64-apple-macosx -fast-isel %s -o - | FileCheck %s --check-prefix=FASTISEL
10 ; FASTISEL: brk #0xf000
11 define void @test1() noreturn nounwind {
13 tail call void @llvm.debugtrap( )
17 declare void @llvm.debugtrap() nounwind
19 ; CHECK-LABEL: test_trap_func:
20 ; CHECK: bl {{.*}}wibble
22 ; FastISel doesn't handle trap-func-name for debugtrap.
24 define void @test_trap_func() noreturn nounwind {
26 tail call void @llvm.debugtrap( ) "trap-func-name"="wibble"