Skip to content

Commit dfe0f97

Browse files
Enable a wasm-simd op in simd_op_check that is now generated in LLVM13 (#6024)
1 parent 6a1e529 commit dfe0f97

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/correctness/simd_op_check.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,8 +1904,9 @@ class SimdOpCheck : public SimdOpCheckTest {
19041904
check("i8x16.abs", 16 * w, abs(i8_1));
19051905
check("i16x8.abs", 8 * w, abs(i16_1));
19061906
check("i32x4.abs", 4 * w, abs(i32_1));
1907-
// TODO(https://github.com/halide/Halide/issues/5130): NOT BEING GENERATED AT TRUNK
1908-
// check("i64x2.abs", 2 * w, abs(i64_1));
1907+
if (Halide::Internal::get_llvm_version() >= 130) {
1908+
check("i64x2.abs", 2 * w, abs(i64_1));
1909+
}
19091910

19101911
// Left shift by constant scalar
19111912
check("i8x16.shl", 16 * w, i8_1 << i8(7));

0 commit comments

Comments
 (0)