llvm-project/llvm/test/CodeGen/ARM/macho-trap.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
352 B
LLVM
Raw Normal View History

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