llvm-for-llvmta/test/CodeGen/ARM/macho-trap.ll

11 lines
352 B
LLVM

; 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
}