]> granicus.if.org Git - llvm/commit
[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)
commit17f2fca6082b58609dc56dc164517e3a34dfec46
tree56055dd503dd5f24143921c0fab3379301f5a002
parent3d5761e1a92cd0382e08b17598b241b2c6700371
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300183 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp