[PATCH] D116879: [llvm] Allow forced auto-vectorization of sincos() using libmvec

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 07:41:35 PDT 2022


RKSimon added a comment.

I'm struggling to find much documentation for libmvec other than the VectorABI.txt you mentioned - do you happen to know where we can review a reference header or source code please? I've tried searching by there's plenty of libs out there with similar names....

I'm still not sure the vector-of-pointers pattern what we want to support tbh



================
Comment at: llvm/lib/Analysis/LoopAccessAnalysis.cpp:2229
+          // No pointer arguments: safe to vectorize.
           continue;
+        }
----------------
I'm not sure this will work well once we want to handle sincos(<2 x double>, <2 x double>*, <2 x double>*) style patterns as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116879



More information about the llvm-commits mailing list