[all-commits] [llvm/llvm-project] 9b0ebb: [LoopInfo] Clarify description of `makeLoopInvaria...

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Wed Jan 5 01:09:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b0ebb54da01be5519decb5ed23365d28d740f70
      https://github.com/llvm/llvm-project/commit/9b0ebb54da01be5519decb5ed23365d28d740f70
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopInfo.h

  Log Message:
  -----------
  [LoopInfo] Clarify description of `makeLoopInvariant`. NFC.

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.

Differential Revision: https://reviews.llvm.org/D116588




More information about the All-commits mailing list