This is an archive of the discontinued LLVM Phabricator instance.

[LoopInfo] Clarify description of makeLoopInvariant. NFC.
ClosedPublic

Authored by SjoerdMeijer on Jan 4 2022, 3:01 AM.

Details

Summary

Clarify that Changed is set to true if the instruction/value was made loop-invariant; the function is returning true if it was already invariant.

Diff Detail

Event Timeline

SjoerdMeijer requested review of this revision.Jan 4 2022, 3:01 AM
SjoerdMeijer created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2022, 3:01 AM
reames accepted this revision.Jan 4 2022, 8:36 AM
This revision is now accepted and ready to land.Jan 4 2022, 8:36 AM
This revision was landed with ongoing or failed builds.Jan 5 2022, 1:09 AM
This revision was automatically updated to reflect the committed changes.