source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/call-noret-minsize.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 601 bytes
Line 
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
5define void @t1() noreturn minsize nounwind ssp {
6entry:
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
16define void @t2() noreturn minsize nounwind ssp {
17entry:
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
27declare void @bar() noreturn
Note: See TracBrowser for help on using the repository browser.