This is an archive of the discontinued LLVM Phabricator instance.

Enable loopreroll for sext of loop control only IV
ClosedPublic

Authored by hulx2000 on May 2 2016, 12:00 PM.

Details

Reviewers
jmolloy
hfinkel
Summary
This patch extend loopreroll to allow the instruction chain
of loop control only IV has sext.

Diff Detail

Repository
rL LLVM

Event Timeline

hulx2000 retitled this revision from to Enable loopreroll for sext of loop control only IV.
hulx2000 updated this object.
hulx2000 added reviewers: hfinkel, jmolloy.
hulx2000 set the repository for this revision to rL LLVM.
hulx2000 added a subscriber: llvm-commits.
jmolloy accepted this revision.May 4 2016, 6:50 AM
jmolloy edited edge metadata.

Hi,

This looks generally fine to me. I've got one comment.

Cheers,

James

lib/Transforms/Scalar/LoopRerollPass.cpp
561

You shouldn't need the cast here.

This revision is now accepted and ready to land.May 4 2016, 6:50 AM
hulx2000 edited edge metadata.

Thanks James for your comments, sorry that I missed that last week.

Patch updated, could you please give me a LGTM at your earliest convenience time? I will be on Vacation from May 12th ~ May 21st, Will join the new team on May 23rd, won't be able to upstream since then.

Have a nice day.

Regards

Lawrence

Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r269084.