test: Disable @prefetch behavior test for loongarch.

https://github.com/llvm/llvm-project/issues/134624
This commit is contained in:
Alex Rønne Petersen 2025-04-07 15:14:16 +02:00
parent 36b9e56753
commit 6880d2c4a3
No known key found for this signature in database

View File

@ -3,6 +3,7 @@ const std = @import("std");
test "@prefetch()" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isLoongArch()) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/134624
var a: [2]u32 = .{ 42, 42 };
var a_len = a.len;