source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/fast-tail-call.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: 389 bytes
Line 
1; RUN: llc -mtriple=thumbv7-linux-gnueabi -O0 < %s | FileCheck %s
2
3; Primarily a non-crash test: Thumbv7 Linux does not have FastISel support,
4; which led (via a convoluted route) to DAG nodes after a TC_RETURN that
5; couldn't possibly work.
6
7declare i8* @g(i8*)
8
9define i8* @f(i8* %a) {
10entry:
11  %0 = tail call i8* @g(i8* %a)
12  ret i8* %0
13; CHECK: b g
14; CHECK-NOT: ldr
15; CHECK-NOT: str
16}
Note: See TracBrowser for help on using the repository browser.