view test/CodeGen/Thumb/trap.ll @ 134:3a76565eade5 LLVM5.0.1

update 5.0.1
author mir3636
date Sat, 17 Feb 2018 09:57:20 +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