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