Skip to content

Commit 09e4035

Browse files
committed
llvm: clobber rdx instead of edx for x86-64 valgrind request
1 parent 40132af commit 09e4035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/llvm.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11735,7 +11735,7 @@ pub const FuncGen = struct {
1173511735
\\ rolq $$61, %rdi ; rolq $$51, %rdi
1173611736
\\ xchgq %rbx, %rbx
1173711737
,
11738-
.constraints = "={rdx},{rax},{edx},~{cc},~{memory}",
11738+
.constraints = "={rdx},{rax},{rdx},~{cc},~{memory}",
1173911739
},
1174011740
else => unreachable,
1174111741
};

0 commit comments

Comments
 (0)