[all-commits] [llvm/llvm-project] 70a495: [NFC][LoopSimplify] modernize for loops over LoopInfo

Pedro Tammela via All-commits all-commits at lists.llvm.org
Fri Oct 30 09:50:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 70a495c7f0f28790e976cdecc93846f2827b2c8f
      https://github.com/llvm/llvm-project/commit/70a495c7f0f28790e976cdecc93846f2827b2c8f
  Author: Pedro Tammela <pctammela at gmail.com>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopSimplify.cpp

  Log Message:
  -----------
  [NFC][LoopSimplify] modernize for loops over LoopInfo

This patch modifies two for loops to use the range based syntax.
Since they are equivalent, this patch is tagged NFC.

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


  Commit: 86e0c1acdb370f7c97f7f287afd41c2902f0e6e0
      https://github.com/llvm/llvm-project/commit/86e0c1acdb370f7c97f7f287afd41c2902f0e6e0
  Author: Pedro Tammela <pctammela at gmail.com>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reg2Mem.cpp

  Log Message:
  -----------
  [NFC][Reg2Mem] modernize loops iterators

This patch updates the Reg2Mem loops to use more modern iterators.

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


Compare: https://github.com/llvm/llvm-project/compare/c479e0c99459...86e0c1acdb37


More information about the All-commits mailing list