zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 19af9fa488ba7ddf2e7fd8f2f06ab594f7e23f91 (tree)
parent 4b593a6c24797484e68a668818736b0f6a8d81a2
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Fri,  7 Nov 2025 11:55:09 +0100

Merge pull request #25848 from Rexicon226/llvm-valgrind-clobber

llvm: fix up clobbers for valgrind requests
Diffstat:
Msrc/codegen/llvm.zig | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig @@ -11672,7 +11672,7 @@ pub const FuncGen = struct { \\ srl $$0, $$0, 19 \\ or $$13, $$13, $$13 , - .constraints = "={$11},{$12},{$11},~{memory}", + .constraints = "={$11},{$12},{$11},~{memory},~{$1}", }, .mips64, .mips64el => .{ .template = @@ -11680,7 +11680,7 @@ pub const FuncGen = struct { \\ dsll $$0, $$0, 29 ; dsll $$0, $$0, 19 \\ or $$13, $$13, $$13 , - .constraints = "={$11},{$12},{$11},~{memory}", + .constraints = "={$11},{$12},{$11},~{memory},~{$1}", }, .powerpc, .powerpcle => .{ .template = @@ -11727,7 +11727,7 @@ pub const FuncGen = struct { \\ roll $$61, %edi ; roll $$51, %edi \\ xchgl %ebx, %ebx , - .constraints = "={edx},{eax},{edx},~{cc},~{memory}", + .constraints = "={edx},{eax},{edx},~{cc},~{memory},~{dirflag},~{fpsr},~{flags}", }, .x86_64 => .{ .template = @@ -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},~{dirflag},~{fpsr},~{flags}", }, else => unreachable, };