[PATCH] D67645: [aarch64] add def-pats for dot product

Sebastian Pop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 11:23:33 PDT 2019


sebpop added a comment.

In D67645#1673951 <https://reviews.llvm.org/D67645#1673951>, @SjoerdMeijer wrote:

> to do the heavy lifting, this is probably a task for the loop vectorizer.


You are right, it is not the task of instruction selection to vectorize the code:
if the code is vectorized, ISel should know how to select the right instructions.
If in the future the loop/SLP vectorizers produce patterns that are not covered
by the def-pats in this patch, we will add more patterns to generate dot-product.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67645/new/

https://reviews.llvm.org/D67645





More information about the llvm-commits mailing list