aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-04-07 17:23:32 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-04-11 02:28:35 +0200
commit382aa48f044ff87d50e1c185a12173be562275f2 (patch)
treed5b0f111b85b9983d353adf98bb8d36092992876 /test/behavior/math.zig
parent0a5c088ecc2fbe4db5cae1cc5cf62eeba340375d (diff)
downloadzig-382aa48f044ff87d50e1c185a12173be562275f2.tar.gz
zig-382aa48f044ff87d50e1c185a12173be562275f2.zip
test: Disable a bunch of vector behavior tests for hexagon.
Most of the failures are: * https://github.com/llvm/llvm-project/issues/118879 * https://github.com/llvm/llvm-project/issues/134659 But some are also miscompilations leading to wrong results. I'm not going to investigate the latter further until all the backend crashes have been resolved.
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 76c55c2549..28d7ec0488 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -1899,6 +1899,7 @@ test "partially-runtime integer vector division would be illegal if vector eleme
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest;
var lhs: @Vector(2, i8) = .{ -128, 5 };
const rhs: @Vector(2, i8) = .{ 1, -1 };