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

Tim Schmielau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 06:07:46 PDT 2022


tim.schmielau updated this revision to Diff 463517.
tim.schmielau retitled this revision from "[llvm] Allow auto-vectorization of sincos() using libmvec" to "[llvm] Allow forced auto-vectorization of sincos() using libmvec".
tim.schmielau edited the summary of this revision.
tim.schmielau added a comment.
Herald added a subscriber: hiraditya.

To finally get this out of the way without having the necessary analysis available, I am retreating a bit and just allow forced auto-vectorization via #pragma clang loop vectorize(assume_safety).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116879

Files:
  llvm/include/llvm/Analysis/VecFuncs.def
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls-VF2-VF8.ll
  llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116879.463517.patch
Type: text/x-patch
Size: 9866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220928/0e7454b6/attachment.bin>


More information about the llvm-commits mailing list