test: disable some vector ctz/clz behavior tests on LoongArch with LSX

https://github.com/llvm/llvm-project/issues/159529
This commit is contained in:
Alex Rønne Petersen 2025-09-18 00:39:15 +02:00
parent 35d2b1e99a
commit beb25b0430
No known key found for this signature in database

View file

@ -111,6 +111,8 @@ test "@clz vectors" {
}
fn testClzVectors() !void {
if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
const Vu4 = @Vector(64, u4);
const Vu8 = @Vector(64, u8);
const Vu128 = @Vector(64, u128);
@ -197,6 +199,8 @@ test "@ctz vectors" {
}
fn testCtzVectors() !void {
if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
const Vu4 = @Vector(64, u4);
const Vu8 = @Vector(64, u8);
@setEvalBranchQuota(10_000);