This is an archive of the discontinued LLVM Phabricator instance.

[LoopPredication] NFC: Refactored code to separate out functions being reused
AbandonedPublic

Authored by anna on Nov 3 2017, 7:21 AM.

Details

Reviewers
None
Summary

Refactored the code to separate out common functions that are being
reused.
This is to reduce the changes for changes coming up wrt loop
predication with reverse loops.

This refactoring is what we have in our downstream code.

Event Timeline

anna created this revision.Nov 3 2017, 7:21 AM
fhahn added a subscriber: fhahn.Nov 3 2017, 7:21 AM
anna abandoned this revision.Nov 3 2017, 7:23 AM

Was using this just to verify the diff on phab.