Skip to content

Commit

Permalink
Enable a wasm-simd op in simd_op_check that is now generated in LLVM13 (
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson committed May 19, 2021
1 parent 6a1e529 commit dfe0f97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/correctness/simd_op_check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1904,8 +1904,9 @@ class SimdOpCheck : public SimdOpCheckTest {
check("i8x16.abs", 16 * w, abs(i8_1));
check("i16x8.abs", 8 * w, abs(i16_1));
check("i32x4.abs", 4 * w, abs(i32_1));
// TODO(https://github.com/halide/Halide/issues/5130): NOT BEING GENERATED AT TRUNK
// check("i64x2.abs", 2 * w, abs(i64_1));
if (Halide::Internal::get_llvm_version() >= 130) {
check("i64x2.abs", 2 * w, abs(i64_1));
}

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

0 comments on commit dfe0f97

Please sign in to comment.