OSDN Git Service

NFC: Refactor library-specific mappings of scalar maths functions to their vector...
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 9 Apr 2019 13:21:11 +0000 (13:21 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 9 Apr 2019 13:21:11 +0000 (13:21 +0000)
commitc9acb1de281a8792f988a2d1424e7865a9bda438
tree7a79b7b7a338c6779e7a8096aa2bc1613bdef78c
parent6ea7e450234749d033c769d17c9eb6614d7f073f
NFC: Refactor library-specific mappings of scalar maths functions to their vector counterparts

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 is in support of the follow-up: https://reviews.llvm.org/D59881

Patch by pjeeva01

Differential revision: https://reviews.llvm.org/D60211

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358001 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/VecFuncs.def [new file with mode: 0644]
lib/Analysis/TargetLibraryInfo.cpp