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 %s2, 0, %s0 10; CHECK-NEXT: lea %s0, 15(, %s0) 11; CHECK-NEXT: and %s0, -16, %s0 12; CHECK-NEXT: lea %s1, __ve_grow_stack_align@lo 13; CHECK-NEXT: and %s1, %s1, (32)0 14; CHECK-NEXT: lea.sl %s12, __ve_grow_stack_align@hi(, %s1) 15; CHECK-NEXT: or %s1, -32, (0)1 16; CHECK-NEXT: bsic %s10, (, %s12) 17; CHECK-NEXT: lea %s0, 240(, %s11) 18; CHECK-NEXT: lea %s0, 31(, %s0) 19; CHECK-NEXT: and %s0, -32, %s0 20; CHECK-NEXT: lea %s1, bar@lo 21; CHECK-NEXT: and %s1, %s1, (32)0 22; CHECK-NEXT: lea.sl %s12, bar@hi(, %s1) 23; CHECK-NEXT: or %s1, 0, %s2 24; CHECK-NEXT: bsic %s10, (, %s12) 25; CHECK-NEXT: or %s11, 0, %s9 26 %dyna = alloca i8, i64 %n, align 32 27 call void @bar(i8* %dyna, i64 %n) 28 ret void 29} 30