Revert "[TLI] Per-function fveclib for math library used for vectorization"
authorMehdi Amini <joker.eph@gmail.com>
Sat, 11 Apr 2020 01:00:58 +0000 (01:00 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 11 Apr 2020 01:05:01 +0000 (01:05 +0000)
commited03d9485eb5b502708f8a21ce34fa6da05a9ca5
treee26b1f37a1001a94d25f37cd4a1cb8a1ed4dc006
parente4767a6f1435164e6eb65c71a0a847812390a55e
Revert "[TLI] Per-function fveclib for math library used for vectorization"

This reverts commit 60c642e74be6af86906d9f3d982728be7bd4329f.

This patch is making the TLI "closed" for a predefined set of VecLib
while at the moment it is extensible for anyone to customize when using
LLVM as a library.
Reverting while we figure out a way to re-land it without losing the
generality of the current API.

Differential Revision: https://reviews.llvm.org/D77925
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGen/libcalls-veclib.c [deleted file]
llvm/include/llvm/Analysis/TargetLibraryInfo.h
llvm/lib/Analysis/InlineCost.cpp
llvm/lib/Analysis/TargetLibraryInfo.cpp
llvm/test/Transforms/Inline/inline-no-builtin-compatible.ll
llvm/test/Transforms/Inline/veclib-compat.ll [deleted file]