authorgravatar for rpkak@noreply.codeberg.orgrpkak <rpkak@noreply.codeberg.org> 2026-10-05 09:29:03+02:00
committergravatar for rpkak@noreply.codeberg.orgrpkak <rpkak@noreply.codeberg.org> 2026-10-05 09:51:27+02:00
log2af80a25e0082951cfba60e99924b0cdc8224532
tree716369eefacc651c63d35efad5ff14dc4a126672
parentdc76b08e2a409ad9c41bdbf3574d30b6d3b6e512
signature Signed by SSH key SHA256:A2g6ATENrgLKQcUdthsn72P0njmQxnHSimzwnyJsZzo

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

This reverts commit 4dd05b5a64549149ba1f3e5ecb5a1ad14ac1564c.

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

doc/langref/runtime_shrExact_overflow.zig+1-1
...@@ -7,7 +7,7 @@ pub fn main() void {...@@ -7,7 +7,7 @@ pub fn main() void {
7 const y = @shrExact(x, 2);7 const y = @shrExact(x, 2);
8 std.debug.print("value: {}\n", .{y});8 std.debug.print("value: {}\n", .{y});
99
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");10 if ((builtin.cpu.arch.isRISCV() or builtin.cpu.arch.isLoongArch()) and builtin.zig_backend == .stage2_llvm) @panic("https://github.com/ziglang/zig/issues/24304");
11}11}
1212
13// exe=fail13// exe=fail