blob: 6f6fa3a6609ac1807d5247f6c7919491290465ab [file] [log] [blame]
Tom Tan7ecb5142019-06-21 23:38:05 +00001; RUN: llc -mtriple=aarch64-windows %s -o -| FileCheck %s
2; RUN: llc -mtriple=aarch64-windows -fast-isel %s -o - | FileCheck %s
3; RUN: llc -mtriple=aarch64-windows -global-isel %s -o - | FileCheck %s
4
5; CHECK-LABEL: test1:
6; CHECK: brk #0xf000
7define void @test1() noreturn nounwind {
8entry:
9 tail call void @llvm.debugtrap( )
10 ret void
11}
12
13declare void @llvm.debugtrap() nounwind