[llvm] [PatternMatch] Allow poison in api_pred_ty matchers (PR #89188)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 06:31:23 PDT 2024


dtcxzyw wrote:

> A problem here is that, despite these matchers appearing in a decent number of places, we have very little pre-existing test coverage for these folds with poison vectors, so we don't benefit from alive2 verification. It would be quite a bit of effort to add this coverage for all affected folds though. Thoughts on that?

I have a "vectorizer" for RVV codegen testing. It converts a scalar function into a vectorized version. Do you think it is helpful? If so, I am willing to adjust it to generate vector tests from existing scalar tests :)

See also: https://github.com/dtcxzyw/llvm-codegen-benchmark/blob/main/vectorize.cpp



https://github.com/llvm/llvm-project/pull/89188


More information about the llvm-commits mailing list