authorgravatar for rpkak@noreply.codeberg.orgrpkak <rpkak@noreply.codeberg.org> 2026-10-05 09:29:03+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-06 05:06:23+02:00
log70aa7191afd71c23121adf1b61257a1cbbcbcc14
treec64be4db0901e3302b2bea188d1afe12627f165d
parenta81a808db85bf8b4c19274e4b805455414486621
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Revert "langref: work around powerpc LLVM miscompilation in `runtime_shrExact_overflow`"

This reverts commit 9373a963a1aec1341b62cfe2170f824de620f41a.

1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref/runtime_shrExact_overflow.zig+1-1
......@@ -7,7 +7,7 @@ pub fn main() void {
77 const y = @shrExact(x, 2);
88 std.debug.print("value: {}\n", .{y});
99
10 if ((builtin.cpu.arch.isPowerPC() or builtin.cpu.arch.isRISCV() or builtin.cpu.arch.isLoongArch() or builtin.cpu.arch == .s390x) and builtin.zig_backend == .stage2_llvm) @panic("https://github.com/ziglang/zig/issues/24304");
10 if ((builtin.cpu.arch.isRISCV() or builtin.cpu.arch.isLoongArch() or builtin.cpu.arch == .s390x) and builtin.zig_backend == .stage2_llvm) @panic("https://github.com/ziglang/zig/issues/24304");
1111}
1212
1313// exe=fail