1 ; RUN: llc < %s -mtriple=armv7-apple-ios -mcpu=cortex-a8 | FileCheck %s -check-prefix=ARM 2 ; RUN: llc < %s -mtriple=armv7-apple-ios -mcpu=swift | FileCheck %s -check-prefix=SWIFT 3 ; rdar://12348580 4 5 define void @t1() noreturn minsize nounwind ssp { 6 entry: 7 ; ARM-LABEL: t1: 8 ; ARM: bl _bar 9 10 ; SWIFT-LABEL: t1: 11 ; SWIFT: bl _bar 12 tail call void @bar() noreturn nounwind 13 unreachable 14 } 15 16 define void @t2() noreturn minsize nounwind ssp { 17 entry: 18 ; ARM-LABEL: t2: 19 ; ARM: bl _t1 20 21 ; SWIFT-LABEL: t2: 22 ; SWIFT: bl _t1 23 tail call void @t1() noreturn nounwind 24 unreachable 25 } 26 27 declare void @bar() noreturn 28