Skip to content

Commit 1fae9db

Browse files
authored
AArch64: Fix undefined behavior in sme calling convention test (#165183)
Mismatch of callsite and callee calling conventions
1 parent c197718 commit 1fae9db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/CodeGen/AArch64/sme-support-routines-calling-convention.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ define i64 @test_sme_calling_convention_x2() nounwind {
6464
ret i64 %pstate.sm
6565
}
6666

67-
declare void @__arm_tpidr2_save()
68-
declare i64 @__arm_get_current_vg()
69-
declare {i64, i64} @__arm_sme_state()
67+
declare aarch64_sme_preservemost_from_x0 void @__arm_tpidr2_save()
68+
declare aarch64_sme_preservemost_from_x1 i64 @__arm_get_current_vg()
69+
declare aarch64_sme_preservemost_from_x2 {i64, i64} @__arm_sme_state()

0 commit comments

Comments
 (0)