BBVectorize flag was unused and went away in LLVM 5.0

This commit is contained in:
Vassil Vassilev 2017-10-06 09:38:45 +02:00 committed by sftnight
parent 8d0f2c4e1e
commit 628c1fbc86

View File

@ -115,7 +115,6 @@ void BackendPasses::CreatePasses(llvm::Module& M, int OptLevel)
llvm::PassManagerBuilder PMBuilder;
PMBuilder.OptLevel = OptLevel;
PMBuilder.SizeLevel = m_CGOpts.OptimizeSize;
PMBuilder.BBVectorize = 0; // m_CGOpts.VectorizeBB;
PMBuilder.SLPVectorize = OptLevel > 1 ? 1 : 0; // m_CGOpts.VectorizeSLP
PMBuilder.LoopVectorize = OptLevel > 1 ? 1 : 0; // m_CGOpts.VectorizeLoop