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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D116588
[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 TimelineSjoerdMeijer created this revision. 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 Closed by commit rG9b0ebb54da01: [LoopInfo] Clarify description of `makeLoopInvariant`. NFC. (authored by SjoerdMeijer). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 397474 llvm/include/llvm/Analysis/LoopInfo.h
|