Revert "[VectorUtils] Introduce the Vector Function Database (VFDatabase)."
authorFrancesco Petrogalli <francesco.petrogalli@arm.com>
Fri, 13 Dec 2019 19:15:29 +0000 (19:15 +0000)
committerFrancesco Petrogalli <francesco.petrogalli@arm.com>
Fri, 13 Dec 2019 19:42:04 +0000 (19:42 +0000)
commit19f73f0d1b8d4f4a7b7451fea33a35015fe0942d
tree426b50dc3a7f66a447e1cd38f710eaef25a2cf12
parent193da743db63bc7299717f583a63e68d55408731
Revert "[VectorUtils] Introduce the Vector Function Database (VFDatabase)."

This reverts commit 0be81968a283fd4161cb9ac9748d5ed200926292.

The VFDatabase needs some rework to be able to handle vectorization
and subsequent scalarization of intrinsics in out-of-tree versions of
the compiler. For more details, see the discussion in
https://reviews.llvm.org/D67572.
13 files changed:
llvm/include/llvm/Analysis/TargetLibraryInfo.h
llvm/include/llvm/Analysis/VectorUtils.h
llvm/lib/Analysis/LazyCallGraph.cpp
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Analysis/VectorUtils.cpp
llvm/lib/Transforms/Utils/InjectTLIMappings.cpp
llvm/lib/Transforms/Utils/ModuleUtils.cpp
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Other/opt-O2-pipeline.ll
llvm/test/Other/opt-O3-pipeline.ll
llvm/test/Other/opt-Os-pipeline.ll
llvm/unittests/Analysis/VectorFunctionABITest.cpp