@@ -13,40 +13,40 @@ define void @f(ptr %m, ptr %n, ptr %p, ptr %q, ptr %r, ptr %s, double %t) {
1313; CHECK-NEXT: sd s0, 32(sp) # 8-byte Folded Spill
1414; CHECK-NEXT: sd s1, 24(sp) # 8-byte Folded Spill
1515; CHECK-NEXT: sd s2, 16(sp) # 8-byte Folded Spill
16+ ; CHECK-NEXT: sd s3, 8(sp) # 8-byte Folded Spill
17+ ; CHECK-NEXT: sd s4, 0(sp) # 8-byte Folded Spill
1618; CHECK-NEXT: .cfi_offset ra, -8
1719; CHECK-NEXT: .cfi_offset s0, -16
1820; CHECK-NEXT: .cfi_offset s1, -24
1921; CHECK-NEXT: .cfi_offset s2, -32
20- ; CHECK-NEXT: csrr a6, vlenb
21- ; CHECK-NEXT: sub sp, sp, a6
22- ; CHECK-NEXT: .cfi_escape 0x0f, 0x0d, 0x72, 0x00, 0x11, 0x30, 0x22, 0x11, 0x01, 0x92, 0xa2, 0x38, 0x00, 0x1e, 0x22 # sp + 48 + 1 * vlenb
22+ ; CHECK-NEXT: .cfi_offset s3, -40
23+ ; CHECK-NEXT: .cfi_offset s4, -48
2324; CHECK-NEXT: mv s0, a5
2425; CHECK-NEXT: mv s1, a4
2526; CHECK-NEXT: vsetivli zero, 2, e64, m1, ta, ma
2627; CHECK-NEXT: vle64.v v8, (a0)
2728; CHECK-NEXT: vse64.v v8, (a1)
28- ; CHECK-NEXT: vle64.v v8, (a2)
29- ; CHECK-NEXT: addi a0, sp, 16
30- ; CHECK-NEXT: vs1r.v v8, (a0) # Unknown-size Folded Spill
29+ ; CHECK-NEXT: ld s3, 0(a2)
30+ ; CHECK-NEXT: ld s4, 8(a2)
3131; CHECK-NEXT: mv s2, a3
3232; CHECK-NEXT: call g
33- ; CHECK-NEXT: addi a0, sp, 16
34- ; CHECK-NEXT: vl1r.v v8, (a0) # Unknown-size Folded Reload
33+ ; CHECK-NEXT: sd s3, 0(s2)
34+ ; CHECK-NEXT: sd s4, 8(s2)
3535; CHECK-NEXT: vsetivli zero, 2, e64, m1, ta, ma
36- ; CHECK-NEXT: vse64.v v8, (s2)
3736; CHECK-NEXT: vle64.v v8, (s1)
3837; CHECK-NEXT: vse64.v v8, (s0)
39- ; CHECK-NEXT: csrr a0, vlenb
40- ; CHECK-NEXT: add sp, sp, a0
41- ; CHECK-NEXT: .cfi_def_cfa sp, 48
4238; CHECK-NEXT: ld ra, 40(sp) # 8-byte Folded Reload
4339; CHECK-NEXT: ld s0, 32(sp) # 8-byte Folded Reload
4440; CHECK-NEXT: ld s1, 24(sp) # 8-byte Folded Reload
4541; CHECK-NEXT: ld s2, 16(sp) # 8-byte Folded Reload
42+ ; CHECK-NEXT: ld s3, 8(sp) # 8-byte Folded Reload
43+ ; CHECK-NEXT: ld s4, 0(sp) # 8-byte Folded Reload
4644; CHECK-NEXT: .cfi_restore ra
4745; CHECK-NEXT: .cfi_restore s0
4846; CHECK-NEXT: .cfi_restore s1
4947; CHECK-NEXT: .cfi_restore s2
48+ ; CHECK-NEXT: .cfi_restore s3
49+ ; CHECK-NEXT: .cfi_restore s4
5050; CHECK-NEXT: addi sp, sp, 48
5151; CHECK-NEXT: .cfi_def_cfa_offset 0
5252; CHECK-NEXT: ret
0 commit comments