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

Tim Schmielau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 9 00:29:44 PST 2022


tim.schmielau created this revision.
Herald added subscribers: pengfei, dmgreen.
tim.schmielau requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This fixes https://bugs.llvm.org/show_bug.cgi?id=51530 on x86 with SSE or AVX2,
bringing sincos() vectorization in line with the handling of sin() and cos().


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116879

Files:
  llvm/include/llvm/Analysis/VecFuncs.def
  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.398397.patch
Type: text/x-patch
Size: 6070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220109/0a908fe8/attachment.bin>


More information about the llvm-commits mailing list