2010-05-11 07:26:32 +00:00
|
|
|
; RUN: llc < %s -march=arm | FileCheck %s
|
|
|
|
; rdar://7961298
|
|
|
|
|
2010-06-17 15:18:27 +00:00
|
|
|
define void @t() nounwind {
|
2010-05-11 07:26:32 +00:00
|
|
|
entry:
|
|
|
|
; CHECK: t:
|
|
|
|
; CHECK: trap
|
|
|
|
call void @llvm.trap()
|
|
|
|
unreachable
|
|
|
|
}
|
|
|
|
|
|
|
|
declare void @llvm.trap() nounwind
|