| ... | @@ -161,10 +161,11 @@ test "@ctz vectors" { | ... | @@ -161,10 +161,11 @@ test "@ctz vectors" { |
| 161 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 161 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 162 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | 162 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 163 | | 163 | |
| 164 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { | 164 | if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and |
| 165 | // TODO this is tripping an LLVM assert: | 165 | builtin.cpu.arch == .aarch64) |
| 166 | // 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. | 166 | { |
| 167 | // I need to report a zig issue and an llvm issue | 167 | // This regressed with LLVM 14: |
| | 168 | // https://github.com/ziglang/zig/issues/12013 |
| 168 | return error.SkipZigTest; | 169 | return error.SkipZigTest; |
| 169 | } | 170 | } |
| 170 | | 171 | |