[LV] Refactor ILV to provide vectorizeInstruction(); NFC
authorAyal Zaks <ayal.zaks@intel.com>
Thu, 13 Apr 2017 09:07:23 +0000 (09:07 +0000)
committerAyal Zaks <ayal.zaks@intel.com>
Thu, 13 Apr 2017 09:07:23 +0000 (09:07 +0000)
commitcd712b6c493893eb42265ad429438c716969fe36
tree0929f26f91f93d57e862018f3571366b7da31919
parentcec1e260c30e16d3230cfc63105fef4015892ff4
[LV] Refactor ILV to provide vectorizeInstruction(); NFC

Refactoring InnerLoopVectorizer's vectorizeBlockInLoop() to provide
vectorizeInstruction(). Aligning DeadInstructions with its only user.
Facilitates driving the transformation by VPlan - follows
https://reviews.llvm.org/D28975 and its tentative breakdown.

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

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