diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-06-30 07:09:08 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-06-30 07:09:08 +0000 |
commit | 3545a9e1f9145df7f67428cf8eca9d0053f44e67 (patch) | |
tree | 6c70b540ca33811aac61a58a1994d3afd0be1eff /llvm/lib/Transforms/Vectorize/Vectorize.cpp | |
parent | e24f434eb222d463342405a2ca9ce97767527cc1 (diff) | |
download | bcm5719-llvm-3545a9e1f9145df7f67428cf8eca9d0053f44e67.tar.gz bcm5719-llvm-3545a9e1f9145df7f67428cf8eca9d0053f44e67.zip |
Remove the BBVectorize pass.
It served us well, helped kick-start much of the vectorization efforts
in LLVM, etc. Its time has come and past. Back in 2014:
http://lists.llvm.org/pipermail/llvm-dev/2014-November/079091.html
Time to actually let go and move forward. =]
I've updated the release notes both about the removal and the
deprecation of the corresponding C API.
llvm-svn: 306797
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/Vectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/Vectorize.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/Vectorize.cpp b/llvm/lib/Transforms/Vectorize/Vectorize.cpp index a2192831788..fb2f509dcba 100644 --- a/llvm/lib/Transforms/Vectorize/Vectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/Vectorize.cpp @@ -26,7 +26,6 @@ using namespace llvm; /// initializeVectorizationPasses - Initialize all passes linked into the /// Vectorization library. void llvm::initializeVectorization(PassRegistry &Registry) { - initializeBBVectorizePass(Registry); initializeLoopVectorizePass(Registry); initializeSLPVectorizerPass(Registry); initializeLoadStoreVectorizerPass(Registry); @@ -36,8 +35,8 @@ void LLVMInitializeVectorization(LLVMPassRegistryRef R) { initializeVectorization(*unwrap(R)); } +// DEPRECATED: Remove after the LLVM 5 release. void LLVMAddBBVectorizePass(LLVMPassManagerRef PM) { - unwrap(PM)->add(createBBVectorizePass()); } void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM) { |