1 ; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s 2 3 ; CHECK-LABEL: test0: 4 ; CHECK: ud2 5 define i32 @test0() noreturn nounwind { 6 entry: 7 tail call void @llvm.trap( ) 8 unreachable 9 } 10 11 ; CHECK-LABEL: test1: 12 ; CHECK: int3 13 define i32 @test1() noreturn nounwind { 14 entry: 15 tail call void @llvm.debugtrap( ) 16 unreachable 17 } 18 19 declare void @llvm.trap() nounwind 20 declare void @llvm.debugtrap() nounwind 21 22