brintos

brintos / llvm-project-archived public Read only

0
0
Text · 656 B · bb56e8b Raw
32 lines · plain
1; RUN: llc < %s -mtriple=armv7-apple-ios -mcpu=cortex-a8   | FileCheck %s -check-prefix=ARM2; RUN: llc < %s -mtriple=armv7-apple-ios -mcpu=swift       | FileCheck %s -check-prefix=SWIFT3; rdar://89792994 5define void @t1() noreturn nounwind ssp {6entry:7; ARM-LABEL: t1:8; ARM: mov lr, pc9; ARM: b _bar10 11; SWIFT-LABEL: t1:12; SWIFT: mov lr, pc13; SWIFT: b _bar14  tail call void @bar() noreturn nounwind15  unreachable16}17 18define void @t2() noreturn nounwind ssp {19entry:20; ARM-LABEL: t2:21; ARM: mov lr, pc22; ARM: b _t123 24; SWIFT-LABEL: t2:25; SWIFT: mov lr, pc26; SWIFT: b _t127  tail call void @t1() noreturn nounwind28  unreachable29}30 31declare void @bar() noreturn32