From dc76b08e2a409ad9c41bdbf3574d30b6d3b6e512 Mon Sep 17 00:00:00 2001 From: rpkak Date: Mon, 5 Oct 2026 09:29:03 +0200 Subject: [PATCH] Revert "langref: work around powerpc LLVM miscompilation in `runtime_shrExact_overflow`" This reverts commit 9373a963a1aec1341b62cfe2170f824de620f41a. --- doc/langref/runtime_shrExact_overflow.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref/runtime_shrExact_overflow.zig b/doc/langref/runtime_shrExact_overflow.zig index afb9c4b9c1aec75cfbbc49110abe702806d2c449..32cfc33ca2decbe246369effda9308b029d99d07 100644 --- a/doc/langref/runtime_shrExact_overflow.zig +++ b/doc/langref/runtime_shrExact_overflow.zig @@ -7,7 +7,7 @@ pub fn main() void { const y = @shrExact(x, 2); std.debug.print("value: {}\n", .{y}); - 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"); + 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"); } // exe=fail -- 2.54.0