[PowerPC] Removing sqrtd2 and sqrtf4 from list of vectorizable function with MASSV
authorMasoud Ataei <msd.ataei@gmail.com>
Mon, 1 Mar 2021 15:42:19 +0000 (15:42 +0000)
committerMasoud Ataei <msd.ataei@gmail.com>
Mon, 1 Mar 2021 15:42:19 +0000 (15:42 +0000)
commit5fe0cab79e184e48a6519eb5408bda99c837648a
tree75ec85d689bbf6b31b0f23f096e07e014c16778c
parent95a1305fb4058ef4925fea181f4664ce266337d6
[PowerPC] Removing sqrtd2 and sqrtf4 from list of vectorizable function with MASSV

Under -O3 and -Ofast, the MASSV conversion prevents the sqrt call to be inlined.
Inline sqrt is faster than MASSV call on leppc.

Differential Revision: https://reviews.llvm.org/D97487
llvm/include/llvm/Analysis/VecFuncs.def
llvm/test/CodeGen/PowerPC/lower-massv.ll
llvm/test/Transforms/LoopVectorize/PowerPC/massv-calls.ll