view test/CodeGen/Thumb/trap.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 54457678186b
children
line wrap: on
line source

; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
; rdar://7961298

define void @t() nounwind {
entry:
; CHECK-LABEL: t:
; CHECK: trap
  call void @llvm.trap()
  unreachable
}

declare void @llvm.trap() nounwind