[PATCH] D19501: Add LoadStoreVectorizer pass

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 13:37:25 PDT 2016


jlebar added a comment.

Not to scope-creep this, because it's immensely helpful as-is, but looking through some Eigen code, it seems like it would also be helpful to merge consecutive vector loads where possible.  (In NVPTX, this usually means merging two loads of 2xf32 into one 4xf32 load.)  Eigen tries to be clever and vectorize itself, but it doesn't always use the right packet size.


http://reviews.llvm.org/D19501





More information about the llvm-commits mailing list