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