1; RUN: llc < %s -mtriple=ve-unknown-unknown | FileCheck %s 2 3declare void @bar(i8*, i64) 4 5; Function Attrs: nounwind 6define void @test(i64 %n) { 7; CHECK-LABEL: test: 8; CHECK: .LBB{{[0-9]+}}_2: 9; CHECK-NEXT: or %s1, 0, %s0 10; CHECK-NEXT: lea %s0, 15(, %s0) 11; CHECK-NEXT: and %s0, -16, %s0 12; CHECK-NEXT: lea %s2, __ve_grow_stack@lo 13; CHECK-NEXT: and %s2, %s2, (32)0 14; CHECK-NEXT: lea.sl %s12, __ve_grow_stack@hi(, %s2) 15; CHECK-NEXT: bsic %s10, (, %s12) 16; CHECK-NEXT: lea %s0, 240(, %s11) 17; CHECK-NEXT: lea %s2, bar@lo 18; CHECK-NEXT: and %s2, %s2, (32)0 19; CHECK-NEXT: lea.sl %s12, bar@hi(, %s2) 20; CHECK-NEXT: bsic %s10, (, %s12) 21; CHECK-NEXT: or %s11, 0, %s9 22 %dyna = alloca i8, i64 %n, align 8 23 call void @bar(i8* %dyna, i64 %n) 24 ret void 25} 26