This is an archive of the discontinued LLVM Phabricator instance.

[LV] Refactor ILV to provide vectorizeInstruction() from vectorizeBlockInLoop()
ClosedPublic

Authored by Ayal on Apr 12 2017, 4:30 PM.

Details

Summary

Aligning DeadInstructions with its only user, facilitating driving the transformation by VPlan - follows https://reviews.llvm.org/D28975 and its tentative breakdown.

Diff Detail

Repository
rL LLVM

Event Timeline

Ayal created this revision.Apr 12 2017, 4:30 PM
mkuper accepted this revision.Apr 12 2017, 4:35 PM

LGTM with minor nit about comment.

lib/Transforms/Vectorize/LoopVectorize.cpp
3883 ↗(On Diff #95052)

Weird line-break here.

This revision is now accepted and ready to land.Apr 12 2017, 4:35 PM
This revision was automatically updated to reflect the committed changes.