1 ; RUN: llc < %s -mtriple=i686-apple-darwin8 -mcpu=yonah | FileCheck %s -check-prefix=DARWIN
2 ; RUN: llc < %s -mtriple=i686-unknown-linux -mcpu=yonah | FileCheck %s -check-prefix=LINUX
3 ; RUN: llc < %s -mtriple=x86_64-scei-ps4 | FileCheck %s -check-prefix=PS4
4 ; RUN: llc < %s -mtriple=x86_64-windows-msvc | FileCheck %s -check-prefix=WIN64
10 ; FIXME: PS4 probably doesn't want two ud2s.
17 define i32 @test0() noreturn nounwind {
19 tail call void @llvm.trap( )
23 ; DARWIN-LABEL: test1:
32 define i32 @test1() noreturn nounwind {
34 tail call void @llvm.debugtrap( )
38 declare void @llvm.trap() nounwind
39 declare void @llvm.debugtrap() nounwind