• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=ve-unknown-unknown | FileCheck %s
2
3define i32 @stack_stack_arg_i32_r9(i1 %0, i8 %1, i16 %2, i32 %3, i64 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9) {
4; CHECK-LABEL: stack_stack_arg_i32_r9:
5; CHECK:       # %bb.0:
6; CHECK-NEXT:    ldl.sx %s0, 248(, %s11)
7; CHECK-NEXT:    b.l.t (, %s10)
8  ret i32 %9
9}
10
11define i64 @stack_stack_arg_i64_r9(i1 %0, i8 %1, i16 %2, i32 %3, i64 %4, i64 %5, i64 %6, i64 %7, i64 %8, i64 %9) {
12; CHECK-LABEL: stack_stack_arg_i64_r9:
13; CHECK:       # %bb.0:
14; CHECK-NEXT:    ld %s0, 248(, %s11)
15; CHECK-NEXT:    b.l.t (, %s10)
16  ret i64 %9
17}
18
19define float @stack_stack_arg_f32_r9(float %p0, float %p1, float %p2, float %p3, float %p4, float %p5, float %p6, float %p7, float %s0, float %s1) {
20; CHECK-LABEL: stack_stack_arg_f32_r9:
21; CHECK:       # %bb.0:
22; CHECK-NEXT:    ldu %s0, 252(, %s11)
23; CHECK-NEXT:    b.l.t (, %s10)
24  ret float %s1
25}
26
27define i32 @stack_stack_arg_i32f32_r8(i32 %p0, float %p1, i32 %p2, float %p3, i32 %p4, float %p5, i32 %p6, float %p7, i32 %s0, float %s1) {
28; CHECK-LABEL: stack_stack_arg_i32f32_r8:
29; CHECK:       # %bb.0:
30; CHECK-NEXT:    ldl.sx %s0, 240(, %s11)
31; CHECK-NEXT:    b.l.t (, %s10)
32  ret i32 %s0
33}
34
35define float @stack_stack_arg_i32f32_r9(i32 %p0, float %p1, i32 %p2, float %p3, i32 %p4, float %p5, i32 %p6, float %p7, i32 %s0, float %s1) {
36; CHECK-LABEL: stack_stack_arg_i32f32_r9:
37; CHECK:       # %bb.0:
38; CHECK-NEXT:    ldu %s0, 252(, %s11)
39; CHECK-NEXT:    b.l.t (, %s10)
40  ret float %s1
41}
42