This is an archive of the discontinued LLVM Phabricator instance.

[llvm][NFC] Factor out logic for getting incoming & back Loop edges
ClosedPublic

Authored by mtrofin on Mar 28 2019, 3:48 PM.

Event Timeline

mtrofin created this revision.Mar 28 2019, 3:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2019, 3:48 PM
davidxl added inline comments.Mar 28 2019, 3:56 PM
llvm/include/llvm/Analysis/LoopInfo.h
524

nit about wording:

Obtain the unique incoming and back edge.  Return false if ....; otherwise return true.
mtrofin updated this revision to Diff 192736.Mar 28 2019, 3:59 PM
  • wording
davidxl accepted this revision.Mar 29 2019, 9:34 AM

lgtm

This revision is now accepted and ready to land.Mar 29 2019, 9:34 AM
This revision was automatically updated to reflect the committed changes.