| ... | ... | @@ -126,6 +126,13 @@ fn testOneCtz(comptime T: type, x: T) u32 { |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | test "@ctz vectors" { |
| 129 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { |
| 130 | // TODO this is tripping an LLVM assert: |
| 131 | // 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. |
| 132 | // I need to report a zig issue and an llvm issue |
| 133 | return error.SkipZigTest; |
| 134 | } |
| 135 | |
| 129 | 136 | try testCtzVectors(); |
| 130 | 137 | comptime try testCtzVectors(); |
| 131 | 138 | } |