This is an archive of the discontinued LLVM Phabricator instance.

[LoopInterchange] Update code to use range-based for loops (NFC).
ClosedPublic

Authored by fhahn on Jul 23 2017, 7:59 AM.

Diff Detail

Event Timeline

fhahn created this revision.Jul 23 2017, 7:59 AM
aemerson added inline comments.
lib/Transforms/Scalar/LoopInterchange.cpp
88

Use auto* while we're changing this anyway?

748–751

While you're here could you add an assert string to this?

fhahn updated this revision to Diff 107842.Jul 23 2017, 2:47 PM
fhahn marked 2 inline comments as done.

Updated to use auto and added string to assertion, thanks Amara.

aemerson accepted this revision.Jul 24 2017, 3:19 AM

LGTM.

This revision is now accepted and ready to land.Jul 24 2017, 3:19 AM
fhahn closed this revision.Jul 24 2017, 4:42 AM