[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)
Shawn K via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 30 23:40:48 PDT 2025
kimsh02 wrote:
As an update, I made better test cases with varying ternary operations and values, but I was not able to debug the handling in the new evaluator. There are three tests which pass from the old evaluator but does not pass from the new evaluator, and I have commented these failing tests.
What they failing tests have in common is that they hit the pternlogq512 path (512-bit, 64-bit lanes), although the new evaluator passes other tests that hit this path as well. What I have tried was reviewing my logic, and trying to replicate the code exactly as I had written it in the old evaluator (since the old evaluator is passing everything).
@tbaederr If anyone could have a look, that would be great 😅
https://github.com/llvm/llvm-project/pull/158703
More information about the cfe-commits
mailing list