Skip to content

Commit

Permalink
Temporary workaround for LLVM injection
Browse files Browse the repository at this point in the history
llvm/llvm-project#92794 broke generation of pblend*b in some situations. A fix is underway; this just comments out those failures temporarily.
  • Loading branch information
steven-johnson committed May 30, 2024
1 parent 33d5ba9 commit 0383b94
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/correctness/simd_op_check_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,10 @@ class SimdOpCheckX86 : public SimdOpCheckTest {
// avx512 uses a variety of predicated mov ops instead of blend
check("blend*ps", 2 * w, select(f32_1 > 0.7f, f32_1, f32_2));
check("blend*pd", w, select(f64_1 > cast<double>(0.7f), f64_1, f64_2));
check("pblend*b", 8 * w, select(u8_1 > 7, u8_1, u8_2));
check("pblend*b", 8 * w, select(u8_1 == 7, u8_1, u8_2));
check("pblend*b", 8 * w, select(u8_1 <= 7, i8_1, i8_2));
// Temporarily disabled due to injection from https://github.com/llvm/llvm-project/pull/92794
// check("pblend*b", 8 * w, select(u8_1 > 7, u8_1, u8_2));
// check("pblend*b", 8 * w, select(u8_1 == 7, u8_1, u8_2));
// check("pblend*b", 8 * w, select(u8_1 <= 7, i8_1, i8_2));
}

check("pmaxsb", 8 * w, max(i8_1, i8_2));
Expand Down

0 comments on commit 0383b94

Please sign in to comment.