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:27+02:00
log31f4907bf1258991376b99d1a2a5a5b180681fe1
tree86df1baa2310d6f2e9643492b1bb5224d569674a
parent70aa7191afd71c23121adf1b61257a1cbbcbcc14
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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 {
77 const y = @shrExact(x, 2);
88 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");
1111}
1212
1313// exe=fail