llvm.org GIT mirror llvm / release_27 test / CodeGen / X86 / trap.ll
release_27

Tree @release_27 (Download .tar.gz)

trap.ll @release_27raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llc < %s -march=x86 -mcpu=yonah | grep ud2
define i32 @test() noreturn nounwind  {
entry:
	tail call void @llvm.trap( )
	unreachable
}

declare void @llvm.trap() nounwind