[LV] Remove redundant basic block split
authorGil Rapaport <gil.rapaport@intel.com>
Tue, 25 Apr 2017 05:57:22 +0000 (05:57 +0000)
committerGil Rapaport <gil.rapaport@intel.com>
Tue, 25 Apr 2017 05:57:22 +0000 (05:57 +0000)
commit860f0a2bad922b81591ccc6de8a86f9ecb286ecb
treea29ff1a006fa40da74dcd2fdc67dc69f0837347f
parent376508ad8d61bd507ddc5f904bb7d8a3c461e4b7
[LV] Remove redundant basic block split

This patch is part of D28975's breakdown.

Genreating the control-flow to guard predicated instructions modified to
only use SplitBlockAndInsertIfThen() for producing the if-then construct.

Differential Revision: https://reviews.llvm.org/D32224

llvm-svn: 301293
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp