[SLP][AArch64] Incorrectly estimated intrinsic as a function call.
authorDinar Temirbulatov <dinar.temirbulatov@arm.com>
Tue, 3 Jan 2023 19:45:24 +0000 (19:45 +0000)
committerDinar Temirbulatov <dinar.temirbulatov@arm.com>
Tue, 3 Jan 2023 19:45:24 +0000 (19:45 +0000)
commit55c600819f92ed33bef868b5056b699915d645fa
tree99581ee3843393a9e307251d4f57976e5edd7813
parentfcbf3fafdb542d99e3e5971bff45daaffa7f2cc0
[SLP][AArch64] Incorrectly estimated intrinsic as a function call.

We incorrectly assume intrinsic as a function call and it prevents us from
the opportunity to vectorize. On Aarch64 Cortex-A53 we think that
llvm.fmuladd.f64 is a function call which is wrong.

Differential Revision: https://reviews.llvm.org/D140392
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/fmulladd.ll