source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/Windows/no-ehabi.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: 500 bytes
Line 
1; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -o - %s | FileCheck %s
2
3declare void @callee(i32 %i)
4
5define i32 @caller(i32 %i, i32 %j, i32 %k, i32 %l, i32 %m, i32 %n, i32 %o,
6                   i32 %p) {
7entry:
8  %q = add nsw i32 %j, %i
9  %r = add nsw i32 %q, %k
10  %s = add nsw i32 %r, %l
11  call void @callee(i32 %s)
12  %t = add nsw i32 %n, %m
13  %u = add nsw i32 %t, %o
14  %v = add nsw i32 %u, %p
15  call void @callee(i32 %v)
16  %w = add nsw i32 %v, %s
17  ret i32 %w
18}
19
20; CHECK-NOT: .save {{{.*}}}
21
Note: See TracBrowser for help on using the repository browser.