brintos

brintos / llvm-project-archived public Read only

0
0
Text · 383 B · 4496af8 Raw
20 lines · plain
1; RUN: llc -mtriple=armv7-linux-gnueabi %s -o - | FileCheck %s2 3declare void @bar(ptr, i32, i32, i32, i32)4 5define void @foo(i32 %amt) optnone noinline {6  br label %next7 8next:9  %mem = alloca i8;, i32 %amt10  br label %next111 12next1:13  call void @bar(ptr %mem, i32 undef, i32 undef, i32 undef, i32 undef)14; CHECK: sub sp, sp, #815; CHECK: bl bar16; CHECK: add sp, sp, #817 18  ret void19}20