Skip to content

Commit c547a05

Browse files
committed
langref: runtime_shrExact_overflow does not work as expected on LoongArch
ziglang#24304
1 parent d6b4e19 commit c547a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/langref/runtime_shrExact_overflow.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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() 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

0 commit comments

Comments
 (0)