diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-11 01:07:24 -0700 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-12 11:18:23 +0100 |
| commit | 774f9bdb79cc1047b4b6f86c6030817810466151 (patch) | |
| tree | 108a057ffa80b8f40e1f1da5d8b9022b414b8cb4 /test/behavior/math.zig | |
| parent | 91508e10abe4ab82e4f7a4dcdfac178ebd9e52d3 (diff) | |
| download | zig-774f9bdb79cc1047b4b6f86c6030817810466151.tar.gz zig-774f9bdb79cc1047b4b6f86c6030817810466151.zip | |
LLVM backend: disable failing aarch64 behavior test
Diffstat (limited to 'test/behavior/math.zig')
| -rw-r--r-- | test/behavior/math.zig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig index c23e8ebe3e..7cf7ca4c5d 100644 --- a/test/behavior/math.zig +++ b/test/behavior/math.zig @@ -126,6 +126,13 @@ fn testOneCtz(comptime T: type, x: T) u32 { } test "@ctz vectors" { + if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { + // TODO this is tripping an LLVM assert: + // zig: /home/andy/Downloads/llvm-project-13/llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp:198: llvm::LegalizeActionStep llvm::LegalizeRuleSet::apply(const llvm::LegalityQuery&) const: Assertion `mutationIsSane(Rule, Query, Mutation) && "legality mutation invalid for match"' failed. + // I need to report a zig issue and an llvm issue + return error.SkipZigTest; + } + try testCtzVectors(); comptime try testCtzVectors(); } |
