This is an archive of the discontinued LLVM Phabricator instance.

[StructurizeCFG] Use a for-each loop instead of iterators in runOnRegion.
ClosedPublic

Authored by jlebar on Nov 22 2016, 1:44 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 78937.Nov 22 2016, 1:44 PM
jlebar retitled this revision from to [StructurizeCFG] Use a for-each loop instead of iterators in runOnRegion..
jlebar updated this object.
jlebar added a reviewer: arsenm.
jlebar added a subscriber: llvm-commits.
arsenm edited edge metadata.Nov 22 2016, 1:47 PM

The original order looks forward to me?

jlebar updated this object.Nov 22 2016, 1:50 PM
jlebar edited edge metadata.

The original order looks forward to me?

Me too -- I dunno what I was thinking. Updated commit message locally and in phab.

arsenm accepted this revision.Nov 22 2016, 1:51 PM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 22 2016, 1:51 PM
This revision was automatically updated to reflect the committed changes.