llvm: clobber rdx instead of edx for x86-64 valgrind request

This commit is contained in:
David Rubin 2025-11-06 20:12:35 -08:00
parent 40132af3ad
commit 09e4035e79
No known key found for this signature in database
GPG Key ID: 5CF5B5A4747520AA

View File

@ -11735,7 +11735,7 @@ pub const FuncGen = struct {
\\ rolq $$61, %rdi ; rolq $$51, %rdi
\\ xchgq %rbx, %rbx
,
.constraints = "={rdx},{rax},{edx},~{cc},~{memory}",
.constraints = "={rdx},{rax},{rdx},~{cc},~{memory}",
},
else => unreachable,
};