AArch64: Fix undefined behavior in sme calling convention test (#165183)

Mismatch of callsite and callee calling conventions
This commit is contained in:
Matt Arsenault
2025-10-27 11:08:42 +09:00
committed by GitHub
parent c197718cdf
commit 1fae9db3d5

View File

@@ -64,6 +64,6 @@ define i64 @test_sme_calling_convention_x2() nounwind {
ret i64 %pstate.sm
}
declare void @__arm_tpidr2_save()
declare i64 @__arm_get_current_vg()
declare {i64, i64} @__arm_sme_state()
declare aarch64_sme_preservemost_from_x0 void @__arm_tpidr2_save()
declare aarch64_sme_preservemost_from_x1 i64 @__arm_get_current_vg()
declare aarch64_sme_preservemost_from_x2 {i64, i64} @__arm_sme_state()