Commit 774f9bdb79

Andrew Kelley <andrew@ziglang.org>
2022-02-11 09:07:24
LLVM backend: disable failing aarch64 behavior test
1 parent 91508e1
Changed files (1)
test
behavior
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();
 }