Files
llvm/test/CodeGen/ARM/macho-trap.ll
T
Tim Northover 3352f5142d MachO: trap unreachable instructions
Debugability is more important than saving 4 bytes to let us to fall
through to nonense.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330073 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-13 22:25:20 +00:00

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
}