llvm.org GIT mirror llvm / stable test / CodeGen / ARM / macho-trap.ll
stable

Tree @stable (Download .tar.gz)

macho-trap.ll @stableraw · history · blame

; RUN: llc -mtriple=armv7-apple-ios7.0 %s -o - | FileCheck %s
; RUN: llc -mtriple=thumbv7-apple-ios7.0 %s -o - | FileCheck %s
; RUN: llc -mtriple=thumbv7m-apple-macho %s -o - | FileCheck %s
; RUN: llc -mtriple=thumbv6m-apple-macho %s -o - | FileCheck %s

define void @test_unreachable() {
; CHECK-LABEL: test_unreachable:
; CHECK: trap
  unreachable
}