[PATCH] D60211: NFC: Refactor library-specific mappings of scalar maths functions to their vector counterparts

Jeeva P. via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 3 09:24:35 PDT 2019


pjeeva01 created this revision.
pjeeva01 added a reviewer: jsji.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

This patch factors out mappings of scalar maths functions to their vector counterparts from TargetLibraryInfo.cpp to a separate VecFuncs.def file. Such mappings are currently available for Accelerate framework, and SVML library.

This patch is a precursor to Initial support for vectorization using MASS (IBM MASS vector library). <https://reviews.llvm.org/D59881>


Repository:
  rL LLVM

https://reviews.llvm.org/D60211

Files:
  llvm/include/llvm/Analysis/VecFuncs.def
  llvm/lib/Analysis/TargetLibraryInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60211.193524.patch
Type: text/x-patch
Size: 12186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190403/db9ca1c8/attachment.bin>


More information about the llvm-commits mailing list