brintos

brintos / llvm-project-archived public Read only

0
0
Text · 500 B · 4119b6d Raw
22 lines · plain
1; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -o - %s | FileCheck %s2 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, %i9  %r = add nsw i32 %q, %k10  %s = add nsw i32 %r, %l11  call void @callee(i32 %s)12  %t = add nsw i32 %n, %m13  %u = add nsw i32 %t, %o14  %v = add nsw i32 %u, %p15  call void @callee(i32 %v)16  %w = add nsw i32 %v, %s17  ret i32 %w18}19 20; CHECK-NOT: .save {{{.*}}}21 22